Synced
ShaderPreviews.DrawMaterial
Section titled “ShaderPreviews.DrawMaterial”
- Draws detached Material overrides using its Shader’s compiled contract.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public void Inno.Editor.Shaders.ImGui.ShaderPreviews.DrawMaterial(System.Guid ownerId, Inno.Rendering.Assets.MaterialAsset material, float logicalSize)Parameters
Section titled “Parameters”Parameter ownerId: Persistent document identity; no Material is retained under this identity.
Parameter material: Invocation-local Material values.
Parameter logicalSize: Positive square image size in logical pixels.