MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / AstcHeader

Class AstcHeader

framework/scene_graph/components/image/astc.cpp:138–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138struct AstcHeader
139{
140 uint8_t magic[4];
141 uint8_t blockdim_x;
142 uint8_t blockdim_y;
143 uint8_t blockdim_z;
144 uint8_t xsize[3]; // x-size = xsize[0] + xsize[1] + xsize[2]
145 uint8_t ysize[3]; // x-size, y-size and z-size are given in texels;
146 uint8_t zsize[3]; // block count is inferred
147};
148
149void Astc::init()
150{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected