Synced
ShaderParameterPresentation.Write
Section titled “ShaderParameterPresentation.Write”
- Writes presentation to a detached graph without changing any default, Material, or compiled program.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Shaders
Declaration
Section titled “Declaration”public static void Inno.Editor.Shaders.ShaderParameterPresentation.Write(Inno.Core.Graphs.GraphDocument graph, Inno.Rendering.ShaderPropertyId propertyId, Inno.Editor.Shaders.ShaderParameterPresentation presentation, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Serialization.SerializationContext context)Parameters
Section titled “Parameters”Parameter graph: Detached graph owned by the caller’s History transaction.
Parameter propertyId: Stable parameter identity.
Parameter presentation: Detached Inspector settings.
Parameter serialization: Current owner converters.
Parameter context: Complete owner serialization context.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The identity or range is invalid, or a bound cannot be represented by a scalar Shader Float.