3 #include <vsg/core/Visitor.h>
4 #include <vsg/io/FileSystem.h>
5 #include <vsg/state/ShaderStage.h>
27 bool compile(ShaderStages& shaders,
const std::vector<std::string>& defines = {},
ref_ptr<const Options> options = {});
28 bool compile(ref_ptr<ShaderStage> shaderStage,
const std::vector<std::string>& defines = {}, ref_ptr<const Options> options = {});
30 std::string combineSourceAndDefines(
const std::string& source,
const std::vector<std::string>& defines);
32 void apply(Node& node)
override;
33 void apply(StateGroup& stategroup)
override;
34 void apply(BindGraphicsPipeline& bgp)
override;
35 void apply(BindComputePipeline& bgp)
override;
36 void apply(BindRayTracingPipeline& bgp)
override;
39 bool _initialized =
false;
Definition: ShaderCompiler.h:15