|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Block footprint of a compressed format, the single source both backends use to size each mip level's upload. BC1/ETC2_RGB are 4x4x8B, the RGBA block formats 4x4x16B, ASTC's block matches its name. More...
#include <GfxEnums.hpp>
Public Attributes | |
| u32 | blockWidth |
| u32 | blockHeight |
| u32 | bytesPerBlock |
Block footprint of a compressed format, the single source both backends use to size each mip level's upload. BC1/ETC2_RGB are 4x4x8B, the RGBA block formats 4x4x16B, ASTC's block matches its name.
Definition at line 341 of file GfxEnums.hpp.
| u32 esengine::GfxBlockInfo::blockHeight |
| u32 esengine::GfxBlockInfo::blockWidth |
| u32 esengine::GfxBlockInfo::bytesPerBlock |
Definition at line 344 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateCompressedTexture(), esengine::WebGPUDevice::backendCreateCompressedTexture(), esengine::WebGPUDevice::estimatedGpuBytes(), and esengine::gfxCompressedPyramidBytes().