ezEngine  Release 25.03
ezGALShader Class Referenceabstract
Inheritance diagram for ezGALShader:

Public Member Functions

virtual void SetDebugName (ezStringView sName) const =0
 
ezArrayPtr< const ezShaderResourceBindingGetBindingMapping () const
 Returns the list of shader resources and their binding information. These must be bound before the shader can be used.
 
const ezShaderResourceBindingGetShaderResourceBinding (const ezTempHashedString &sName) const
 Convenience function that finds 'sName' in GetBindingMapping and returns it if present.
 
ezArrayPtr< const ezShaderVertexInputAttributeGetVertexInputAttributes () const
 Returns the list of vertex input attributes. Compute shaders return an empty array.
 
- Public Member Functions inherited from ezGALObject< ezGALShaderCreationDescription >
 ezGALObject (const ezGALShaderCreationDescription &description)
 
const EZ_ALWAYS_INLINE ezGALShaderCreationDescriptionGetDescription () const
 
- Public Member Functions inherited from ezRefCounted
virtual ~ezRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from ezRefCountingImpl
 ezRefCountingImpl ()=default
 Constructor.
 
 ezRefCountingImpl (const ezRefCountingImpl &rhs)
 
void operator= (const ezRefCountingImpl &rhs)
 
ezInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
ezInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
ezInt32 GetRefCount () const
 Returns the current reference count.
 

Protected Member Functions

virtual ezResult InitPlatform (ezGALDevice *pDevice)=0
 
virtual ezResult DeInitPlatform (ezGALDevice *pDevice)=0
 
ezResult CreateBindingMapping (bool bAllowMultipleBindingPerName)
 
void DestroyBindingMapping ()
 
 ezGALShader (const ezGALShaderCreationDescription &Description)
 

Protected Attributes

ezDynamicArray< ezShaderResourceBindingm_BindingMapping
 
- Protected Attributes inherited from ezGALObject< ezGALShaderCreationDescription >
const ezGALShaderCreationDescription m_Description
 

Friends

class ezGALDevice
 

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