Interface to the Direct3D ShaderResourceVariable resource variable. More...
#include <ShaderResourceVariableD3D.h>
Public Member Functions | |
virtual void DILIGENT_CALL_TYPE | GetHLSLResourceDesc (HLSLShaderResourceDesc &HLSLResDesc) const =0 |
Returns HLSL ShaderResourceVariable resource description. | |
![]() | |
virtual void DILIGENT_CALL_TYPE | Set (IDeviceObject *pObject, SET_SHADER_RESOURCE_FLAGS Flags=SET_SHADER_RESOURCE_FLAG_NONE)=0 |
Binds resource to the variable. | |
virtual void DILIGENT_CALL_TYPE | SetArray (IDeviceObject *const *ppObjects, Uint32 FirstElement, Uint32 NumElements, SET_SHADER_RESOURCE_FLAGS Flags=SET_SHADER_RESOURCE_FLAG_NONE)=0 |
Binds resource array to the variable. | |
virtual void DILIGENT_CALL_TYPE | SetBufferRange (IDeviceObject *pObject, Uint64 Offset, Uint64 Size, Uint32 ArrayIndex=0, SET_SHADER_RESOURCE_FLAGS Flags=SET_SHADER_RESOURCE_FLAG_NONE)=0 |
Binds the specified constant buffer range to the variable. | |
virtual void DILIGENT_CALL_TYPE | SetBufferOffset (Uint32 Offset, Uint32 ArrayIndex=0)=0 |
Sets the constant or structured buffer dynamic offset. | |
virtual SHADER_RESOURCE_VARIABLE_TYPE DILIGENT_CALL_TYPE | GetType () const =0 |
Returns the shader resource variable type. | |
virtual void DILIGENT_CALL_TYPE | GetResourceDesc (ShaderResourceDesc &ResourceDesc) const =0 |
Returns shader resource description. See Diligent::ShaderResourceDesc. | |
virtual Uint32 DILIGENT_CALL_TYPE | GetIndex () const =0 |
Returns the variable index that can be used to access the variable. | |
virtual IDeviceObject *DILIGENT_CALL_TYPE | Get (Uint32 ArrayIndex=0) const =0 |
Returns a pointer to the resource that is bound to this variable. | |
![]() | |
virtual void DILIGENT_CALL_TYPE | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface. | |
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | AddRef ()=0 |
Increments the number of strong references by 1. | |
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | Release ()=0 |
virtual IReferenceCounters *DILIGENT_CALL_TYPE | GetReferenceCounters () const =0 |
Interface to the Direct3D ShaderResourceVariable resource variable.