29 #include "RenderDeviceD3D12.h" 30 #include "ShaderD3D12.h" 31 #include "ShaderBase.h" 32 #include "ShaderD3DBase.h" 33 #include "ShaderResourceLayoutD3D12.h" 36 # define VERIFY_SHADER_BINDINGS 42 class ResourceMapping;
43 class FixedBlockMemoryAllocator;
60 ID3DBlob* GetShaderByteCode(){
return m_pShaderByteCode;}
61 const std::shared_ptr<const ShaderResourcesD3D12>& GetShaderResources()
const{
return m_pShaderResources;}
64 #ifdef VERIFY_SHADER_BINDINGS 65 void DbgVerifyStaticResourceBindings();
74 std::shared_ptr<const ShaderResourcesD3D12> m_pShaderResources;
76 ShaderResourceCacheD3D12 m_ConstResCache;
virtual void BindResources(IResourceMapping *pResourceMapping, Uint32 Flags) override
Binds shader resources.
Definition: ShaderD3D12Impl.cpp:62
Shader resource variable.
Definition: Shader.h:265
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
Template class implementing base functionality for a shader object.
Definition: ShaderBase.h:172
Resouce mapping.
Definition: ResourceMapping.h:80
Implementation of a dummy shader variable that silently ignores all operations.
Definition: ShaderBase.h:146
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 dum...
Definition: ShaderD3D12Impl.cpp:67
Diligent::ShaderResourceLayoutD3D12 class.
Definition: ShaderResourceLayoutD3D12.h:125
Implementation of the Diligent::IShaderD3D12 interface.
Definition: ShaderD3D12Impl.h:46
Shader creation attributes.
Definition: Shader.h:204
Implementation of the Diligent::IRenderDeviceD3D12 interface.
Definition: RenderDeviceD3D12Impl.h:43