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: engine
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public static bool Inno.Editor.Shaders.ImGui.ShaderPropertyInspector.Compatible(Inno.Rendering.ShaderPropertyType type, Inno.Rendering.Assets.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.