Plasma Engine  2.0
Loading...
Searching...
No Matches
plGALTextureCreationDescription Struct Reference
Inheritance diagram for plGALTextureCreationDescription:

Public Member Functions

void SetAsRenderTarget (plUInt32 uiWidth, plUInt32 uiHeight, plGALResourceFormat::Enum format, plGALMSAASampleCount::Enum sampleCount=plGALMSAASampleCount::None)
 
- Public Member Functions inherited from plHashableStruct< plGALTextureCreationDescription >
 plHashableStruct (const plHashableStruct< plGALTextureCreationDescription > &other)
 
void operator= (const plHashableStruct< plGALTextureCreationDescription > &other)
 
plUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Public Attributes

plUInt32 m_uiWidth = 0
 
plUInt32 m_uiHeight = 0
 
plUInt32 m_uiDepth = 1
 
plUInt32 m_uiMipLevelCount = 1
 
plUInt32 m_uiArraySize = 1
 
plEnum< plGALResourceFormatm_Format = plGALResourceFormat::Invalid
 
plEnum< plGALMSAASampleCountm_SampleCount = plGALMSAASampleCount::None
 
plEnum< plGALTextureTypem_Type = plGALTextureType::Texture2D
 
bool m_bAllowShaderResourceView = true
 
bool m_bAllowUAV = false
 
bool m_bCreateRenderTarget = false
 
bool m_bAllowDynamicMipGeneration = false
 
plGALResourceAccess 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: