MCPcopy Create free account
hub / github.com/carbonengine/trinity / Tr2TextureArrayElement

Class Tr2TextureArrayElement

trinity/Tr2TextureArray.h:12–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11
12class Tr2TextureArrayElement
13{
14public:
15 operator bool() const;
16 bool IsValid() const;
17 uint32_t GetElementIndex() const;
18 Tr2TextureArray* GetArray() const;
19 Tr2TextureAL GetTexture() const;
20
21private:
22 struct Data
23 {
24 ~Data();
25
26 Tr2TextureArrayPtr m_array;
27 uint32_t m_index;
28 };
29
30 std::shared_ptr<Data> m_data;
31
32 friend class Tr2TextureArray;
33};
34
35
36BLUE_CLASS( Tr2TextureArray ) :

Callers 1

AddElementMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected