|
MayaFlux 0.5.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 9 of file NDData.cpp.
References FLOAT32, FLOAT64, INT32, UINT16, UINT32, UINT8, VEC2_F32, VEC2_F64, VEC3_F32, VEC3_F64, VEC4_F32, and VEC4_F64.
Referenced by MayaFlux::Portal::Graphics::ShaderSpec::Assemble::build(), and MayaFlux::Portal::Graphics::element_type_bytes().
Here is the caller graph for this function: