![]() |
XII Release 0.1.0
|
This describes the buffer view creation description. More...
#include <BufferView.h>
Public Member Functions | |
| XII_DECLARE_POD_TYPE () | |
Public Member Functions inherited from xiiHashableStruct< xiiGALBufferViewCreationDescription > | |
| constexpr | xiiHashableStruct () noexcept |
| Default constructor. Initializes all bytes to zero. | |
| xiiHashableStruct (const xiiHashableStruct &other) noexcept | |
| Bitwise copy constructor. | |
| xiiHashableStruct & | operator= (const xiiHashableStruct &other) noexcept |
| Bitwise assignment operator. | |
| bool | operator== (const xiiHashableStruct &other) const noexcept |
| Compares equality via raw byte comparison. | |
| std::strong_ordering | operator<=> (const xiiHashableStruct &other) const noexcept |
| Compares ordering via raw byte comparison. | |
| xiiUInt32 | CalculateHash () const noexcept |
| Calculates a 32-bit hash from raw bytes of the struct. | |
| void | Clear () noexcept |
| Fills all bytes with zero. | |
| bool | IsZero () const noexcept |
| Returns true if all bytes are zero. | |
Public Attributes | |
| xiiEnum< xiiGALBufferViewType > | m_ViewType = xiiGALBufferViewType::Undefined |
| The view type. The default is Undefined. | |
| xiiEnum< xiiGALResourceFormat > | m_Format = xiiGALResourceFormat::Unknown |
| The format of the view. This member is only used for formatted and raw buffers. To create raw view of a raw buffer, set to xiiGALResourceFormat::Unknown. The default is xiiGALResourceFormat::Unknown. | |
| xiiUInt64 | m_uiByteOffset = 0U |
| The offset in bytes from the beginning of the buffer to the start of the buffer region referenced by the view. | |
| xiiUInt64 | m_uiByteWidth = 0U |
| The size in bytes of the referenced buffer region. | |
This describes the buffer view creation description.