Synced
ShaderNodeDescriptionContext.Read
Section titled “ShaderNodeDescriptionContext.Read”
- Reads a property using the owner’s converter generation and complete reference resolver context.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public T InnoEditor.Rendering.Shaders.ShaderNodeDescriptionContext.Read<T>(string id, T defaultValue)Type parameters
Section titled “Type parameters”Type parameter T: Declared property type supported by the native serializer.
Parameters
Section titled “Parameters”Parameter id: Stable property identity.
Parameter defaultValue: Value used only when the property is absent, never after corrupt-data failure.
Returns
Section titled “Returns”The deserialized value or the supplied absent-property default.