ezEngine Release 26.9
Loading...
Searching...
No Matches
ezTextureDependency Struct Reference

#include <Declarations.h>

Public Member Functions

 EZ_DECLARE_POD_TYPE ()
 

Public Attributes

ezGALTextureHandle m_hTexture
 
ezBitflags< ezGALResourceStatem_RequiredState
 
ezBitflags< ezGALShaderStageFlagsm_Stage
 
ezUInt16 m_uiCategory = 0xFFFF
 

Detailed Description

Declares that a texture needs to be in a specific resource state when a render category is rendered. Recorded during extraction, applied during rendering to ensure correct barriers. m_uiCategory is the raw value of the ezRenderData::Category this dependency belongs to. View-level dependencies ignore the category value.


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