![]() |
XII Release 0.1.0
|
This describes the information required to perform a copy operation between a buffer and a texture. More...
#include <TextureUtilities.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALBufferToTextureCopyDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALBufferToTextureCopyDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALBufferToTextureCopyDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
xiiUInt64 | m_uiRowSize = 0 |
Texture region row size, in bytes. For compressed formats, this is the size of one row of compressed blocks. | |
xiiUInt64 | m_uiRowStride = 0 |
Row stride, in bytes. The stride is computed by aligning the RowSize, and is thus always >= RowSize. | |
xiiUInt32 | m_uiRowStrideInTexels = 0 |
Row stride in texels. | |
xiiUInt32 | m_uiRowCount = 0 |
The number of rows in the region. For compressed formats, this is the number of compressed-block rows. | |
xiiUInt32 | m_uiDepthStride = 0 |
Depth stride (RowStride * RowCount). | |
xiiUInt32 | m_uiMemorySize = 0 |
Total memory size required to store the pixels in the region. | |
xiiBoundingBoxU32 | m_Region = xiiBoundingBoxU32::MakeZero() |
Texture region. | |
This describes the information required to perform a copy operation between a buffer and a texture.