Synced
ShaderPropertyInspector.Compatible
Section titled “ShaderPropertyInspector.Compatible”
- Tests whether a stored override has the exact representation expected by a declaration.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Shaders.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public static bool InnoEditor.Shaders.ShaderPropertyInspector.Compatible(InnoEngine.Rendering.ShaderPropertyType type, InnoEngine.Rendering.MaterialValueKind kind)Parameters
Section titled “Parameters”Parameter type: Declared material type.
Parameter kind: Stored representation.
Returns
Section titled “Returns”True only for supported matching kinds; no lossy conversion is performed.