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

This describes the mapped texture sub-resource data. More...

#include <Texture.h>

Inheritance diagram for xiiGALMappedTextureSubresource:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALMappedTextureSubresource >
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

void * m_pData = nullptr
 The pointer to the mapped texture sub-resource data.
 
xiiUInt64 m_uiStride = 0U
 For 2D and 3D textures, the row stride in bytes.
 
xiiUInt64 m_uiDepthStride = 0U
 For 3D textures, the depth stride in bytes.
 

Detailed Description

This describes the mapped texture sub-resource data.


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