BufferFormat struct
Buffer format description.
Contents
- Reference
Public functions
- auto operator==(const BufferFormat& RHS) const -> bool
- Tests if two structures are equivalent.
Public variables
-
VALUE_
TYPE ValueType - Type of components. For a formatted buffer views, this value cannot be VT_UNDEFINED.
- Uint8 NumComponents
- Number of components. Allowed values: 1, 2, 3, 4. For a formatted buffer, this value cannot be 0.
- Bool IsNormalized
- For signed and unsigned integer value types (VT_INT8, VT_INT16, VT_INT32, VT_UINT8, VT_UINT16, VT_UINT32) indicates if the value should be normalized to [-1,+1] or [0, 1] range respectively. For floating point types (VT_FLOAT16 and VT_FLOAT32), this member is ignored.