Diligent Engine API Reference
|
Implementation of the Diligent::IShaderResourceBindingD3D12 interface. More...
Public Member Functions | |
virtual void | BindResources (Uint32 ShaderFlags, IResourceMapping *pResMapping, Uint32 Flags) override |
Binds all resource using the resource mapping. More... | |
virtual IShaderVariable * | GetVariable (SHADER_TYPE ShaderType, const char *Name) override |
Returns variable. More... | |
![]() | |
ShaderResourceBindingBase (IReferenceCounters *pRefCounters, IPipelineState *pPSO, bool IsInternal=false) | |
virtual IPipelineState * | GetPipelineState () override final |
Implementation of IShaderResourceBinding::GetPipelineState(). | |
![]() | |
virtual void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
Additional Inherited Members | |
![]() | |
RefCntAutoPtr< IPipelineState > | m_spPSO |
Strong reference to PSO. We must use strong reference, because shader resource binding uses PSO's memory allocator to allocate memory for shader resource cache. | |
Implementation of the Diligent::IShaderResourceBindingD3D12 interface.
|
overridevirtual |
Binds all resource using the resource mapping.
[in] | ShaderFlags | - Flags for the shader stages, for which resources will be bound. Any combination of Diligent::SHADER_TYPE may be specified. |
[in] | pResMapping | - Shader resource mapping, where required resources will be looked up |
[in] | Flags | - Additional flags. See Diligent::BIND_SHADER_RESOURCES_FLAGS. |
Implements Diligent::IShaderResourceBinding.
|
overridevirtual |
Returns variable.
[in] | ShaderType | - Type of the shader to look up the variable. Must be one of Diligent::SHADER_TYPE. |
Name | - Variable name |
Implements Diligent::IShaderResourceBinding.