Luna::RG::IRenderGraphCompiler::get_input_resource

virtual usize get_input_resource(const Name &name)=0

Gets the resource ID of one input resource.

Parameters

  • in name

    The name of the input resource.

Return value

Returns the resource ID of the resource. Returns INVALID_RESOURCE if the name is not specified as one input resource.