|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
noexcept |
Byte width of one GpuBufferBinding::ElementType element.
Bridges to Kakshya::gpu_data_format_bytes for FLOAT32/UINT32/INT32, the single authoritative sizing source. Returns 0 for PASSTHROUGH, IMAGE_STORAGE, and IMAGE_SAMPLED, which carry no fixed element width.
| et | ElementType to size. |
Definition at line 7 of file GraphicsUtils.cpp.
References MayaFlux::Kakshya::FLOAT32, MayaFlux::Portal::Graphics::GpuBufferBinding::FLOAT32, MayaFlux::Kakshya::gpu_data_format_bytes(), MayaFlux::Portal::Graphics::GpuBufferBinding::IMAGE_SAMPLED, MayaFlux::Portal::Graphics::GpuBufferBinding::IMAGE_STORAGE, MayaFlux::Kakshya::INT32, MayaFlux::Portal::Graphics::GpuBufferBinding::INT32, MayaFlux::Portal::Graphics::GpuBufferBinding::PASSTHROUGH, MayaFlux::Kakshya::UINT32, and MayaFlux::Portal::Graphics::GpuBufferBinding::UINT32.
Referenced by MayaFlux::Yantra::GpuResourceManager::ensure_shared_buffer().
Here is the call graph for this function:
Here is the caller graph for this function: