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(BindGraphicsPipeline& bgp)
override;
34 void apply(BindComputePipeline& bgp)
override;
35 void apply(BindRayTracingPipeline& bgp)
override;
38 bool _initialized =
false;