![]() |
XII Release 0.1.0
|
This describes the sparse buffer properties. More...
#include <Buffer.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALSparseBufferProperties > &other) | |
void | operator= (const xiiHashableStruct< xiiGALSparseBufferProperties > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALSparseBufferProperties > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
xiiUInt64 | m_uiAddressSpaceSize = 0U |
The size of the sparse buffer virtual address space. | |
xiiUInt32 | m_uiBlockSize = 0U |
This describes the sparse buffer properties.
xiiUInt32 xiiGALSparseBufferProperties::m_uiBlockSize = 0U |
The size of the sparse memory block.
\note Offset in the buffer, memory offset and memory size that are used in sparse resource binding command, must be multiples of the block size. In Direct3D11 and Direct3D12, the block size is always 64Kb. In Vulkan, the block size is not documented, but is usually also 64Kb.