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

Use this descriptor in calls to xiiResourceManager::CreateResource<xiiTexture3DResource> to create textures from data in memory. More...

#include <Texture3DResource.h>

Public Attributes

xiiGALTextureCreationDescription m_TextureDescription = xiiGALTextureUtilities::GetDefaultTexture2DDescription()
 Texture creation description.
xiiGALSamplerCreationDescription m_SamplerDescription = xiiGALGraphicsUtilities::GetDefaultSamplerDescription()
 Sampler creation description.
xiiUInt8 m_uiQualityLevelsDiscardable = 0
 How many quality levels can be discarded and reloaded. For created textures this can currently only be 0 or 1.
xiiUInt8 m_uiQualityLevelsLoadable = 0
 How many additional quality levels can be loaded (typically from file).
xiiArrayPtr< xiiGALTextureSubResourceData > m_InitialContent
 One texture subresource data per (array * faces * mipmap) (in that order) (array is outer loop, mipmap is inner loop). Can be empty to not initialize data.

Detailed Description

Use this descriptor in calls to xiiResourceManager::CreateResource<xiiTexture3DResource> to create textures from data in memory.


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