Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Writes presentation to a detached graph without changing any default, Material, or compiled program.

API: engine
Project: Inno.Editor.Shaders

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)

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.

Exception T:System.ArgumentException: The identity or range is invalid, or a bound cannot be represented by a scalar Shader Float.