Diligent Engine API Reference
Public Member Functions | List of all members
Diligent::DummyShaderVariable Struct Reference

Implementation of a dummy shader variable that silently ignores all operations. More...

Inheritance diagram for Diligent::DummyShaderVariable:
Diligent::ShaderVariableBase Diligent::IShaderVariable Diligent::IObject

Public Member Functions

virtual void Set (IDeviceObject *pObject) override final
 Sets the variable to the given value. More...
 
- Public Member Functions inherited from Diligent::ShaderVariableBase
virtual IReferenceCountersGetReferenceCounters () const override final
 Returns the pointer to IReferenceCounters interface of the associated reference counters object. The metod does NOT increment the number of strong references to the returned object.
 
virtual Atomics::Long AddRef () override final
 Increments the number of strong references by 1. More...
 
virtual Atomics::Long Release () override final
 Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More...
 
virtual void QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface) override final
 Queries the specific interface. More...
 

Detailed Description

Implementation of a dummy shader variable that silently ignores all operations.

Member Function Documentation

virtual void Diligent::DummyShaderVariable::Set ( IDeviceObject pObject)
inlinefinaloverridevirtual

Sets the variable to the given value.

Remarks
The method performs run-time correctness checks. For instance, shader resource view cannot be assigned to a constant buffer variable.

Implements Diligent::IShaderVariable.