XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALBufferViewCreationDescription Struct Reference

This describes the buffer view creation description. More...

#include <BufferView.h>

Inheritance diagram for xiiGALBufferViewCreationDescription:
[legend]

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.
 
xiiHashableStructoperator= (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< xiiGALBufferViewTypem_ViewType = xiiGALBufferViewType::Undefined
 The view type. The default is Undefined.
 
xiiEnum< xiiGALResourceFormatm_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.
 

Detailed Description

This describes the buffer view creation description.


The documentation for this struct was generated from the following file: