Go to the documentation of this file.
57 return m_pShaderResources->GetTotalResources();
63 ResourceDesc = m_pShaderResources->GetHLSLShaderResourceDesc(Index);
69 ResourceDesc = m_pShaderResources->GetHLSLShaderResourceDesc(Index);
75 const std::shared_ptr<const ShaderResourcesD3D12>&
GetShaderResources()
const {
return m_pShaderResources; }
80 std::shared_ptr<const ShaderResourcesD3D12> m_pShaderResources;
virtual Uint32 GetResourceCount() const override final
Implementation of IShader::GetResourceCount() in Direct3D12 backend.
Definition: ShaderD3D12Impl.hpp:55
Base interface for a reference counter object that stores the number of strong and weak references an...
Definition: ReferenceCounters.h:44
char Char
Definition: BasicTypes.h:64
ShaderD3D12Impl(IReferenceCounters *pRefCounters, RenderDeviceD3D12Impl *pRenderDeviceD3D12, const ShaderCreateInfo &ShaderCI)
Definition: ShaderD3D12Impl.cpp:87
Base interface for all dynamic objects in the engine.
Definition: Object.h:41
HLSL resource description.
Definition: ShaderD3D.h:46
Template class implementing base functionality of the shader object.
Definition: ShaderBase.hpp:49
const Char * GetEntryPoint() const
Definition: ShaderD3D12Impl.hpp:73
~ShaderD3D12Impl()
Definition: ShaderD3D12Impl.cpp:114
virtual void GetResourceDesc(Uint32 Index, ShaderResourceDesc &ResourceDesc) const override final
Implementation of IShader::GetResource() in Direct3D12 backend.
Definition: ShaderD3D12Impl.hpp:61
Shader creation attributes.
Definition: Shader.h:241
Unique interface identifier.
Definition: InterfaceID.h:37
Render device implementation in Direct3D12 backend.
Definition: RenderDeviceD3D12Impl.hpp:70
ID3DBlob * GetShaderByteCode() const
Definition: ShaderD3D12Impl.hpp:72
virtual void QueryInterface(const INTERFACE_ID &IID, IObject **ppInterface) override final
Definition: ShaderD3D12Impl.cpp:118
Implementation of a shader object in Direct3D12 backend.
Definition: ShaderD3D12Impl.hpp:42
#define DILIGENT_CALL_TYPE
Definition: CommonDefinitions.h:45
uint32_t Uint32
32-bit unsigned integer
Definition: BasicTypes.h:51
const std::shared_ptr< const ShaderResourcesD3D12 > & GetShaderResources() const
Definition: ShaderD3D12Impl.hpp:75
Shader resource description.
Definition: Shader.h:390
Base implementation of a D3D shader.
Definition: ShaderD3DBase.hpp:40
std::basic_string< Char > String
String variable.
Definition: BasicTypes.h:66
CComPtr< ID3DBlob > m_pShaderByteCode
Definition: ShaderD3DBase.hpp:46
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37
virtual void GetHLSLResource(Uint32 Index, HLSLShaderResourceDesc &ResourceDesc) const override final
Implementation of IShaderD3D::GetHLSLResource() in Direct3D12 backend.
Definition: ShaderD3D12Impl.hpp:67