Function TRAP::Graphics::ShaderDataTypeSize#
Function Documentation#
-
constexpr u32 TRAP::Graphics::ShaderDataTypeSize(ShaderDataType type)#
Retrieve the byte size of a given shader data type.
- Parameters:
type – Shader data type.
- Returns:
Byte size of the shader data type.