![]() |
ezEngine Release 26.9
|

Public Member Functions | |
| void | SetAsRenderTarget (ezUInt32 uiWidth, ezUInt32 uiHeight, ezGALResourceFormat::Enum format, ezGALMSAASampleCount::Enum sampleCount=ezGALMSAASampleCount::None) |
| void | SetAsRenderTarget (ezUInt32 uiWidth, ezUInt32 uiHeight, ezUInt32 uiArraySize, ezGALResourceFormat::Enum format, ezGALMSAASampleCount::Enum sampleCount=ezGALMSAASampleCount::None) |
| ezResult | Validate (ezGALDevice *pDevice, ezArrayPtr< ezGALSystemMemoryDescription > initialData={}) const |
| ezUInt32 | GetNumberOfSlices () const |
| ezVec3U32 | GetMipMapSize (ezUInt32 uiMipLevel) const |
| ezBitflags< ezGALResourceState > | GetDefaultState () const |
| Returns the most appropriate default resource state based on the texture's allowed views and format. | |
Public Member Functions inherited from ezHashableStruct< ezGALTextureCreationDescription > | |
| ezHashableStruct (const ezHashableStruct< ezGALTextureCreationDescription > &other) | |
| void | operator= (const ezHashableStruct< ezGALTextureCreationDescription > &other) |
| bool | operator== (const ezHashableStruct< ezGALTextureCreationDescription > &other) const |
| bool | operator!= (const ezHashableStruct< ezGALTextureCreationDescription > &other) const |
| bool | operator< (const ezHashableStruct< ezGALTextureCreationDescription > &other) const |
| 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_uiArraySize = 1 |
| In case of cube maps, the number of cubes instead of faces. | |
| ezUInt8 | m_uiMipLevelCount = 1 |
| ezEnum< ezGALResourceFormat > | m_Format = ezGALResourceFormat::Invalid |
| ezEnum< ezGALMSAASampleCount > | m_SampleCount = ezGALMSAASampleCount::None |
| ezEnum< ezGALTextureType > | m_Type = ezGALTextureType::Texture2D |
| ezBitflags< ezGALTextureUsageFlags > | m_TextureFlags = ezGALTextureUsageFlags::ShaderResource |
| ezGALResourceAccess | m_ResourceAccess |
| void * | m_pExisitingNativeObject = nullptr |
| Can be used to encapsulate existing native textures in objects usable by the GAL. | |
| ezResult ezGALTextureCreationDescription::Validate | ( | ezGALDevice * | pDevice, |
| ezArrayPtr< ezGALSystemMemoryDescription > | initialData = {} |
||
| ) | const |