Synced
IViewDrawable.TryPrepare
Section titled “IViewDrawable.TryPrepare”
- Resolves reusable resources before render graph execution.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”bool Inno.Rendering.Runtime.IViewDrawable.TryPrepare(Inno.Rendering.Runtime.RenderPipelineContext context, Inno.Rendering.Runtime.RenderView view, out Inno.Rendering.Runtime.IPreparedViewDrawable? prepared)Parameters
Section titled “Parameters”Parameter context: Active pipeline build context.
Parameter view: View that will draw this item.
Parameter prepared: Prepared frame-local draw when resources are available.
Returns
Section titled “Returns”Whether the drawable is ready for this pass.