Diligent Engine API Reference
|
Implementation of the Diligent::IShaderD3D12 interface. More...
Public Member Functions | |
virtual void | BindResources (IResourceMapping *pResourceMapping, Uint32 Flags) override |
Binds shader resources. More... | |
virtual IShaderVariable * | GetShaderVariable (const Char *Name) override |
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::ShaderBase< IShaderD3D12, IRenderDeviceD3D12, FixedBlockMemoryAllocator > | |
ShaderBase (FixedBlockMemoryAllocator &ObjAllocator, IRenderDevice *pDevice, const ShaderDesc &ShdrDesc, bool bIsDeviceInternal=false) | |
Public Member Functions inherited from Diligent::DeviceObjectBase< IShaderD3D12, ShaderDesc, FixedBlockMemoryAllocator > | |
DeviceObjectBase (FixedBlockMemoryAllocator &ObjAllocator, class IRenderDevice *pDevice, const ShaderDesc &ObjDesc, IObject *pOwner=nullptr, bool bIsDeviceInternal=false) | |
virtual const ShaderDesc & | GetDesc () const override final |
UniqueIdentifier | GetUniqueID () const |
Returns unique identifier. More... | |
Public Member Functions inherited from Diligent::ObjectBase< IShaderD3D12, FixedBlockMemoryAllocator > | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) |
Public Member Functions inherited from Diligent::RefCountedObject< IShaderD3D12, 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::ShaderBase< IShaderD3D12, IRenderDeviceD3D12, FixedBlockMemoryAllocator > | |
DummyShaderVariable | m_DummyShaderVar |
Dummy shader variable. | |
std::vector< ShaderVariableDesc, STDAllocatorRawMem< ShaderVariableDesc > > | m_VariablesDesc |
Shader variable descriptions. | |
std::vector< String, STDAllocatorRawMem< String > > | m_StringPool |
String pool that is used to hold copies of variable names and static sampler names. | |
std::vector< StaticSamplerDesc, STDAllocatorRawMem< StaticSamplerDesc > > | m_StaticSamplers |
Static sampler descriptions. | |
Protected Attributes inherited from Diligent::DeviceObjectBase< IShaderD3D12, ShaderDesc, FixedBlockMemoryAllocator > | |
const String | m_ObjectNameCopy |
Copy of a device object name. More... | |
ShaderDesc | m_Desc |
Object description. | |
Implementation of the Diligent::IShaderD3D12 interface.
|
overridevirtual |
Binds shader resources.
[in] | pResourceMapping | - Pointer to IResourceMapping interface to look for resources. |
[in] | Flags | - Additional flags for the operation. See Diligent::BIND_SHADER_RESOURCES_FLAGS for details. |
Implements Diligent::IShader.
|
overridevirtual |
Returns an interface to a shader variable. If the shader variable is not found, an interface to a dummy variable will be returned.
[in] | Name | - Name of the variable. |
Implements Diligent::IShader.