ezEngine  Release 25.03
ezGALTextureCreationDescription Struct Reference
Inheritance diagram for ezGALTextureCreationDescription:

Public Member Functions

void SetAsRenderTarget (ezUInt32 uiWidth, ezUInt32 uiHeight, ezGALResourceFormat::Enum format, ezGALMSAASampleCount::Enum sampleCount=ezGALMSAASampleCount::None)
 
- Public Member Functions inherited from ezHashableStruct< ezGALTextureCreationDescription >
 ezHashableStruct (const ezHashableStruct< ezGALTextureCreationDescription > &other)
 
void operator= (const ezHashableStruct< ezGALTextureCreationDescription > &other)
 
ezUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Public Attributes

ezUInt32 m_uiWidth = 0
 
ezUInt32 m_uiHeight = 0
 
ezUInt32 m_uiDepth = 1
 
ezUInt32 m_uiMipLevelCount = 1
 
ezUInt32 m_uiArraySize = 1
 
ezEnum< ezGALResourceFormatm_Format = ezGALResourceFormat::Invalid
 
ezEnum< ezGALMSAASampleCountm_SampleCount = ezGALMSAASampleCount::None
 
ezEnum< ezGALTextureTypem_Type = ezGALTextureType::Texture2D
 
bool m_bAllowShaderResourceView = true
 
bool m_bAllowUAV = false
 
bool m_bAllowRenderTargetView = false
 
bool m_bAllowDynamicMipGeneration = false
 
ezGALResourceAccess m_ResourceAccess
 
void * m_pExisitingNativeObject = nullptr
 Can be used to encapsulate existing native textures in objects usable by the GAL.
 

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