ezEngine  Milestone 7
ezTextureResourceDescriptor Struct Reference

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

#include <TextureResource.h>

Public Attributes

ezGALTextureCreationDescription m_DescGAL
 Describes the texture format, etc.
 
ezUInt8 m_uiQualityLevelsDiscardable
 How many quality levels can be discarded and reloaded. For created textures this can currently only be 0 or 1.
 
ezUInt8 m_uiQualityLevelsLoadable
 How many additional quality levels can be loaded (typically from file).
 
ezArrayPtr
< ezGALSystemMemoryDescription
m_InitialContent
 One memory desc 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 ezResourceManager::CreateResource<ezTextureResource> to create textures from data in memory.


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