Diligent Engine API Reference
|
Interface to the shader object implemented in D3D11. More...
Public Member Functions | |
virtual ID3D11DeviceChild * | GetD3D11Shader ()=0 |
Returns a pointer to the ID3D11DeviceChild interface of the internal Direct3D11 object. More... | |
![]() | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
virtual const ShaderDesc & | GetDesc () const =0 |
Returns the shader description. | |
virtual void | BindResources (IResourceMapping *pResourceMapping, Uint32 Flags)=0 |
Binds shader resources. More... | |
virtual IShaderVariable * | GetShaderVariable (const Char *Name)=0 |
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 void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface, see IObject::QueryInterface() for details. | |
Interface to the shader object implemented in D3D11.
|
pure virtual |
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.
Implemented in Diligent::ShaderD3D11Impl.