Luna::RG::IRenderGraphCompiler
The render graph compile context. This is used only as the parameter for render_pass_compile_func_t.
interface Luna::RG::IRenderGraphCompiler : public virtual Interface
Base type
Member functions
-
virtual usize get_input_resource(const Name &name)=0
Gets the resource ID of one input resource.
-
virtual usize get_output_resource(const Name &name)=0
Gets the resource ID of one output resource.
-
virtual ResourceDesc get_resource_desc(usize resource)=0
Gets the resource descriptor of the specified resource.
-
virtual void set_resource_desc(usize resource, const ResourceDesc &desc)=0
Sets the resource descriptor of the specified resource.
-
virtual void set_render_pass_object(IRenderPass *render_pass)=0
Sets the render pass object used for executing render commands for this render pass.