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 >
 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< 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: