Diligent Engine API Reference
|
Implementation of the Diligent::IShaderResourceBindingD3D11 interface. More...
Public Member Functions | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override final |
Queries the specific interface, see IObject::QueryInterface() for details. | |
virtual void | BindResources (Uint32 ShaderFlags, IResourceMapping *pResMapping, Uint32 Flags) override final |
Binds all resource using the resource mapping. More... | |
virtual IShaderVariable * | GetVariable (SHADER_TYPE ShaderType, const char *Name) override final |
Returns variable. More... | |
Public Member Functions inherited from Diligent::ShaderResourceBindingBase< IShaderResourceBindingD3D11, FixedBlockMemoryAllocator > | |
ShaderResourceBindingBase (FixedBlockMemoryAllocator &ObjAllocator, IPipelineState *pPSO, bool IsInternal=false) | |
virtual IPipelineState * | GetPipelineState () override final |
Implementation of IShaderResourceBinding::GetPipelineState(). | |
Public Member Functions inherited from Diligent::RefCountedObject< IShaderResourceBindingD3D11, FixedBlockMemoryAllocator > | |
virtual IReferenceCounters * | GetReferenceCounters () const override final |
virtual Atomics::Long | AddRef () override |
virtual Atomics::Long | Release () override |
Additional Inherited Members | |
Protected Attributes inherited from Diligent::ShaderResourceBindingBase< IShaderResourceBindingD3D11, FixedBlockMemoryAllocator > | |
Diligent::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::IShaderResourceBindingD3D11 interface.
|
finaloverridevirtual |
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.
|
finaloverridevirtual |
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.