![]() |
XII Release 0.1.0
|
This describes the sparse texture properties. More...
#include <Texture.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALSparseTextureProperties > &other) | |
void | operator= (const xiiHashableStruct< xiiGALSparseTextureProperties > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALSparseTextureProperties > &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 texture's virtual address space. The default is 0. | |
xiiUInt64 | m_uiMipTailOffset = 0U |
Specifies where to bind the mip tail memory. Reserved for internal use. | |
xiiUInt64 | m_uiMipTailStride = 0U |
Specifies how to calculate the mip tail offset for 2D array texture. Reserved for internal use. | |
xiiUInt64 | m_uiMipTailSize = 0U |
xiiUInt32 | m_uiFirstMipInTail = 0U |
The first mip level in the mip tail that is packed as a whole into one or multiple memory blocks. The default is 0. | |
xiiVec3U32 | m_vTileSize |
Specifies the dimension of a tile packed into a single memory block. | |
xiiUInt32 | m_uiBlockSize = 0U |
xiiBitflags< xiiGALSparseTextureFlags > | m_Flags = xiiGALSparseTextureFlags::None |
Flags that describe additional packing modes. The default is None. | |
This describes the sparse texture properties.
xiiUInt32 xiiGALSparseTextureProperties::m_uiBlockSize = 0U |
Size of the sparse memory block, in bytes. The default is 0.
\remarks The offset in the packed mip tail, memory offset and memory size that are used in sparse memory binding command must be multiples of the block size. If the xiiGALSparseTextureFlags::NonStandardBlockSize flag is not set in the Flags member, the block size is equal to xiiGALSparseResourceProperties::m_uiStandardBlockSize.
xiiUInt64 xiiGALSparseTextureProperties::m_uiMipTailSize = 0U |
Specifies the mip tail size in bytes. The default is 0.
\note A single mip tail for a 2D array may exceed the 32-bit limit.