![]() |
XII Release 0.1.0
|
This describes the buffer view creation description. More...
#include <BufferView.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALBufferViewCreationDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALBufferViewCreationDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALBufferViewCreationDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
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.