Implementation of the Diligent::IShaderD3D11 interface.
More...
|
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override final |
| Queries the specific interface, see IObject::QueryInterface() for details.
|
|
virtual void | BindResources (IResourceMapping *pResourceMapping, Uint32 Flags) override final |
| Binds shader resources. More...
|
|
virtual IShaderVariable * | GetShaderVariable (const Char *Name) override final |
| Returns an interface to a shader variable. If the shader variable is not found, an interface to a dummy variable will be returned. More...
|
|
virtual ID3D11DeviceChild * | GetD3D11Shader () override final |
| Returns a pointer to the ID3D11DeviceChild interface of the internal Direct3D11 object. More...
|
|
| ShaderBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const ShaderDesc &ShdrDesc, bool bIsDeviceInternal=false) |
|
| DeviceObjectBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, const ShaderDesc &ObjDesc, bool bIsDeviceInternal=false) |
|
virtual const ShaderDesc & | GetDesc () const override final |
|
UniqueIdentifier | GetUniqueID () const |
| Returns unique identifier. More...
|
|
virtual void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface, see IObject::QueryInterface() for details.
|
|
Implementation of the Diligent::IShaderD3D11 interface.
◆ BindResources()
void Diligent::ShaderD3D11Impl::BindResources |
( |
IResourceMapping * |
pResourceMapping, |
|
|
Uint32 |
Flags |
|
) |
| |
|
finaloverridevirtual |
◆ GetD3D11Shader()
virtual ID3D11DeviceChild* Diligent::ShaderD3D11Impl::GetD3D11Shader |
( |
| ) |
|
|
inlinefinaloverridevirtual |
Returns a pointer to the ID3D11DeviceChild interface of the internal Direct3D11 object.
The method does NOT call AddRef() on the returned interface, so Release() must not be called.
Implements Diligent::IShaderD3D11.
◆ GetShaderVariable()
IShaderVariable * Diligent::ShaderD3D11Impl::GetShaderVariable |
( |
const Char * |
Name | ) |
|
|
finaloverridevirtual |
Returns an interface to a shader variable. If the shader variable is not found, an interface to a dummy variable will be returned.
- Parameters
-
[in] | Name | - Name of the variable. |
Implements Diligent::IShader.