Diligent Engine API Reference
Public Member Functions | List of all members
Diligent::IShaderD3D11 Class Referenceabstract

Interface to the shader object implemented in D3D11. More...

Inheritance diagram for Diligent::IShaderD3D11:
Diligent::IShader Diligent::IDeviceObject Diligent::RefCountedObject< IShaderD3D11 > Diligent::ObjectBase< IShaderD3D11 > Diligent::DeviceObjectBase< IShaderD3D11, ShaderDesc > Diligent::ShaderBase< IShaderD3D11, IRenderDeviceD3D11 > Diligent::ShaderD3D11Impl

Public Member Functions

virtual ID3D11DeviceChild * GetD3D11Shader ()=0
 Returns a pointer to the ID3D11DeviceChild interface of the internal Direct3D11 object. More...
 
- Public Member Functions inherited from Diligent::IShader
virtual void QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0
 Queries the specific interface, see IObject::QueryInterface() for details.
 
virtual const ShaderDescGetDesc () const =0
 Returns the shader description.
 
virtual void BindResources (IResourceMapping *pResourceMapping, Uint32 Flags)=0
 Binds shader resources. More...
 
virtual IShaderVariableGetShaderVariable (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...
 
- Public Member Functions inherited from Diligent::IDeviceObject
virtual void QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0
 Queries the specific interface, see IObject::QueryInterface() for details.
 

Detailed Description

Interface to the shader object implemented in D3D11.

Member Function Documentation

◆ GetD3D11Shader()

virtual ID3D11DeviceChild* Diligent::IShaderD3D11::GetD3D11Shader ( )
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.