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

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

#include <ShaderByteCode.h>

Public Member Functions

 PL_DECLARE_MEM_RELOCATABLE_TYPE ()
 

Static Public Member Functions

static plResult CreateMergedShaderResourceBinding (const plArrayPtr< plArrayPtr< const plShaderResourceBinding > > &resourcesPerStage, plDynamicArray< plShaderResourceBinding > &out_bindings, bool bAllowMultipleBindingPerName)
 

Public Attributes

plEnum< plGALShaderResourceTypem_ResourceType
 
plEnum< plGALShaderTextureTypem_TextureType
 
plBitflags< plGALShaderStageFlagsm_Stages
 
plInt16 m_iSet = -1
 
plInt16 m_iSlot = -1
 
plUInt32 m_uiArraySize = 1
 
plHashedString m_sName
 
plScopedRefPointer< plShaderConstantBufferLayoutm_pLayout
 

Detailed Description

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

See also
plGALShaderByteCode

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