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

This describes the mip level properties. More...

#include <TextureUtilities.h>

Inheritance diagram for xiiGALMipLevelProperties:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALMipLevelProperties >
 xiiHashableStruct (const xiiHashableStruct< xiiGALMipLevelProperties > &other)
 
void operator= (const xiiHashableStruct< xiiGALMipLevelProperties > &other)
 
XII_ALWAYS_INLINE constexpr bool operator== (const xiiHashableStruct< xiiGALMipLevelProperties > &rhs) const=default
 
xiiUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Public Attributes

xiiSizeU32 m_LogicalSize = xiiSizeU32(0, 0)
 The logical mip width and height.
 
xiiSizeU32 m_StorageSize = xiiSizeU32(0, 0)
 The storage mip width and height. For compressed formats, storage width and height are rounded up to the block size. For example, for a texture mip with logical width or height 10 and BC1 format (with 4x4 pixel block size), the storage width or height will be 12.
 
xiiUInt32 m_uiDepth = 0
 The mip level depth. Note that logical and storage depths are always equivalent.
 
xiiUInt64 m_uiRowSize = 0
 The row size in bytes. For compressed formats, row size defines the size of one row of compressed blocks.
 
xiiUInt64 m_uiDepthSliceSize = 0
 The depth slice size in bytes.
 
xiiUInt64 m_uiMipSize = 0
 The total mip level data size in bytes.
 

Detailed Description

This describes the mip level properties.


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