Plasma Engine  2.0
Loading...
Searching...
No Matches
plTexture2DResourceDescriptor Struct Reference

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

#include <Texture2DResource.h>

Public Attributes

plGALTextureCreationDescription m_DescGAL
 Describes the texture format, etc.
 
plGALSamplerStateCreationDescription m_SamplerDesc
 
plUInt8 m_uiQualityLevelsDiscardable = 0
 How many quality levels can be discarded and reloaded. For created textures this can currently only be 0 or 1.
 
plUInt8 m_uiQualityLevelsLoadable = 0
 How many additional quality levels can be loaded (typically from file).
 
plArrayPtr< plGALSystemMemoryDescriptionm_InitialContent
 

Detailed Description

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

Member Data Documentation

◆ m_InitialContent

plArrayPtr<plGALSystemMemoryDescription> plTexture2DResourceDescriptor::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.


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