|
virtual void | SetDebugName (ezStringView sName) const =0 |
|
EZ_ALWAYS_INLINE ezUInt32 | GetBindGroupCount () const |
| Returns the number of bind groups in the shader. Every bind group must be bound for the shader to be used.
|
|
EZ_ALWAYS_INLINE ezGALBindGroupLayoutHandle | GetBindGroupLayout (ezUInt32 uiBindGroup=0) const |
| Returns the layout of the given bind group.
|
|
EZ_ALWAYS_INLINE ezGALPipelineLayoutHandle | GetPipelineLayout () const |
| Returns the pipeline layout for this shader. I.e. the umbrella of all bind group layouts. This can be used to e.g. sort draw calls by to reduce state changes.
|
|
ezArrayPtr< const ezShaderResourceBinding > | GetBindings (ezUInt32 uiBindGroup=0) const |
| Convenience function that returns ezGALBindGroupLayoutCreationDescription::m_ResourceBindings of the given bind group layout.
|
|
ezArrayPtr< const ezShaderVertexInputAttribute > | GetVertexInputAttributes () const |
| Returns the list of vertex input attributes. Compute shaders return an empty array.
|
|
| ezGALObject (const ezGALShaderCreationDescription &description) |
|
EZ_ALWAYS_INLINE const 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.
|
|