Nebula
Loading...
Searching...
No Matches
shaderloader.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
13
14namespace CoreGraphics
15{
16void CmdSetShaderProgram(const CoreGraphics::CmdBufferId, const CoreGraphics::ShaderProgramId, bool);
18{
20
21public:
22
26 virtual ~ShaderLoader();
27
28
29private:
31 friend class VkPipelineDatabase;
32 friend void CoreGraphics::CmdSetShaderProgram(const CoreGraphics::CmdBufferId, const CoreGraphics::ShaderProgramId, bool);
33
35 void Unload(const Resources::ResourceId id) override;
36
37
38 //__ResourceAllocator(VkShader);
39
40};
41
42}
43
ShaderLoader()
constructor
Definition shaderloader.cc:18
friend class VkPipelineDatabase
Definition shaderloader.h:31
friend class VkVertexSignatureCache
Definition shaderloader.h:30
virtual ~ShaderLoader()
destructor
Definition shaderloader.cc:27
__DeclareClass(ShaderLoader)
void Unload(const Resources::ResourceId id) override
unload shader
Definition shaderloader.cc:36
Definition resourceloader.h:60
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
Definition accelerationstructure.h:24
void CmdSetShaderProgram(const CmdBufferId id, const CoreGraphics::ShaderProgramId pro, bool bindGlobals=true)
Set shader program.
Definition vkcommandbuffer.cc:450
Definition commandbuffer.h:174