Synced
ShaderTargetRegistry.Expand
Section titled “ShaderTargetRegistry.Expand”
- Expands an assigned target, or copies an explicitly authored low-level graph with no domain target.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Core.Graphs.GraphDocument Inno.Rendering.Shaders.ShaderTargetRegistry.Expand(Inno.Core.Graphs.GraphDocument document, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Serialization.SerializationContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter document: Authored source, never modified by this operation.
Parameter serialization: Current owner converters.
Parameter context: Complete owner reference context.
Parameter cancellationToken: Cancellation before and during extension invocation.
Returns
Section titled “Returns”Detached explicit stage graph consumed by the existing compiler.
Exceptions
Section titled “Exceptions”Exception T:Inno.Rendering.Shaders.ShaderTargetUnavailableException: The assigned target is absent from this generation.
Exception T:System.InvalidOperationException: The target returns an invalid result.