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::IObject Diligent::RefCountedObject< IShaderD3D11, FixedBlockMemoryAllocator > Diligent::ObjectBase< IShaderD3D11, FixedBlockMemoryAllocator > Diligent::DeviceObjectBase< IShaderD3D11, ShaderDesc, FixedBlockMemoryAllocator > Diligent::ShaderBase< IShaderD3D11, IRenderDeviceD3D11, FixedBlockMemoryAllocator > 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::IObject
virtual Atomics::Long AddRef ()=0
 Increments the number of strong references by 1. More...
 
virtual Atomics::Long Release ()=0
 Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More...
 
virtual IReferenceCountersGetReferenceCounters () const =0
 Returns the pointer to IReferenceCounters interface of the associated reference counters object. The metod does NOT increment the number of strong references to the returned object.
 

Detailed Description

Interface to the shader object implemented in D3D11.

Member Function Documentation

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.