MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Init

Method Init

SampleFramework12/v1.00/Graphics/Textures.h:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 uint32 NumSlices = 0;
43
44 void Init(uint32 width, uint32 height, uint32 numSlices)
45 {
46 Width = width;
47 Height = height;
48 NumSlices = numSlices;
49 Texels.Init(width * height * numSlices);
50 }
51
52 template<typename TSerializer> void Serialize(TSerializer& serializer)
53 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected