ezEngine  Release 25.03
ezShaderResourceBinding Struct Reference

Shader reflection of a single shader resource (texture, constant buffer, etc.). More...

#include <ShaderByteCode.h>

Public Member Functions

 EZ_DECLARE_MEM_RELOCATABLE_TYPE ()
 

Static Public Member Functions

static ezResult CreateMergedShaderResourceBinding (const ezArrayPtr< ezArrayPtr< const ezShaderResourceBinding >> &resourcesPerStage, ezDynamicArray< ezShaderResourceBinding > &out_bindings, bool bAllowMultipleBindingPerName)
 

Public Attributes

ezEnum< ezGALShaderResourceTypem_ResourceType
 
ezEnum< ezGALShaderTextureTypem_TextureType
 
ezBitflags< ezGALShaderStageFlagsm_Stages
 
ezInt16 m_iSet = -1
 
ezInt16 m_iSlot = -1
 
ezUInt32 m_uiArraySize = 1
 
ezHashedString m_sName
 
ezScopedRefPointer< ezShaderConstantBufferLayoutm_pLayout
 

Detailed Description

Shader reflection of a single shader resource (texture, constant buffer, etc.).

See also
ezGALShaderByteCode

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