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: scripting
Project: Inno.Editor.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public static void InnoEditor.Shaders.ShaderParameterPresentation.Write(InnoEngine.Graphs.GraphDocument graph, InnoEngine.Rendering.ShaderPropertyId propertyId, InnoEditor.Shaders.ShaderParameterPresentation presentation, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.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.