Synced
ShaderPropertyInspector.Draw
Section titled “ShaderPropertyInspector.Draw”
- Draws a typed value without choosing its persistence or history policy.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public static void Inno.Editor.Shaders.ImGui.ShaderPropertyInspector.Draw(Inno.Editor.Inspection.InspectionDrawContext context, object owner, string path, Inno.Rendering.Assets.ShaderPropertyDefinition property, Inno.Rendering.Assets.MaterialValue value, System.Action<Inno.Rendering.Assets.MaterialValue> setter, Inno.Editor.Inspection.IInspectionPropertyEditService edits, bool readOnly, Inno.Editor.Shaders.ShaderParameterPresentation? presentation = null)Parameters
Section titled “Parameters”Parameter context: Current Inspector invocation.
Parameter owner: Detached draft owner used for widget identity.
Parameter path: Stable draft property path.
Parameter property: Current Shader declaration.
Parameter value: Current default or override, never mutated.
Parameter setter: Writes only the host’s detached draft.
Parameter edits: Host-owned gesture and history service.
Parameter readOnly: Whether this source is editable.
Parameter presentation: Optional Editor-only description and scalar bounds; it never changes inherited or stored values.