|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
noexcept |
Byte size of one element of a GpuDataFormat.
Single authoritative source for format sizing. Used by TextureAccess, ShaderSpec, and any other system that needs to derive byte counts from GpuDataFormat without duplicating the switch.
| fmt | GpuDataFormat value. |
Definition at line 5 of file GpuDataFormat.cpp.
References FLOAT32, FLOAT64, INT32, MAT4_F32, UINT16, UINT32, UINT8, VEC2_F32, VEC2_F64, VEC3_F32, VEC3_F64, VEC4_F32, and VEC4_F64.
Referenced by MayaFlux::Buffers::FormaBindingsProcessor::bind_push_constant(), MayaFlux::Kakshya::TextureAccess::bytes_per_texel(), MayaFlux::Portal::Graphics::element_type_bytes(), MayaFlux::Buffers::ShaderProcessor::feed(), MayaFlux::Buffers::FormaBindingsProcessor::flush_typed_push_constant(), gpu_block_layout(), and pack_gpu_components().
Here is the caller graph for this function: