Synced
RenderResourceProvider.CreateMaterialPass
Section titled “RenderResourceProvider.CreateMaterialPass”
- Creates a generation-scoped resolved material pass when no compiled-interface query is required.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”protected static Inno.Rendering.Runtime.RenderMaterialPass Inno.Rendering.Runtime.RenderResourceProvider.CreateMaterialPass(Inno.Rendering.Assets.ShaderPassDefinition definition, Inno.Rendering.GraphicsPipelineHandle graphicsPipeline, Inno.Rendering.ComputePipelineHandle computePipeline, System.Collections.Generic.IReadOnlyList<Inno.Rendering.Runtime.RenderResourceProvider.MaterialBinding> bindings)Parameters
Section titled “Parameters”Parameter definition: The selected shader pass definition.
Parameter graphicsPipeline: The graphics pipeline handle, or an invalid handle for compute.
Parameter computePipeline: The compute pipeline handle, or an invalid handle for rasterization.
Parameter bindings: The complete material-owned binding snapshot.
Returns
Section titled “Returns”A resolved material pass ready for automatic material binding. Calls to M:Inno.Rendering.Runtime.RenderMaterialPass.UsesBinding(Inno.Rendering.RenderBindingId,Inno.Rendering.RenderShaderBindingKind) require the overload carrying the compiled interface.