![]() |
ezEngine
Release 25.03
|
Public Member Functions | |
virtual void | SetDebugName (ezStringView sName) const =0 |
ezArrayPtr< const ezShaderResourceBinding > | GetBindingMapping () const |
Returns the list of shader resources and their binding information. These must be bound before the shader can be used. | |
const ezShaderResourceBinding * | GetShaderResourceBinding (const ezTempHashedString &sName) const |
Convenience function that finds 'sName' in GetBindingMapping and returns it if present. | |
ezArrayPtr< const ezShaderVertexInputAttribute > | GetVertexInputAttributes () const |
Returns the list of vertex input attributes. Compute shaders return an empty array. | |
![]() | |
ezGALObject (const ezGALShaderCreationDescription &description) | |
const EZ_ALWAYS_INLINE ezGALShaderCreationDescription & | GetDescription () const |
![]() | |
virtual | ~ezRefCounted ()=default |
Adds a virtual destructor. | |
![]() | |
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< ezShaderResourceBinding > | m_BindingMapping |
![]() | |
const ezGALShaderCreationDescription | m_Description |
Friends | |
class | ezGALDevice |