Diligent Engine API Reference
|
Implementation of the Diligent::IShaderResourceBindingGL interface. More...
Public Member Functions | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override |
Queries the specific interface, see IObject::QueryInterface() for details. | |
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... | |
Public Member Functions inherited from Diligent::ShaderResourceBindingBase< IShaderResourceBindingGL, 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< IShaderResourceBindingGL, 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< IShaderResourceBindingGL, 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::IShaderResourceBindingGL 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.