Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Reads parameter presentation from the current authoring Shader graph.

API: engine
Project: Inno.Editor.Shaders

public Inno.Editor.Shaders.ShaderParameterPresentation Inno.Editor.Shaders.MaterialDocuments.Presentation(Inno.Rendering.Assets.ShaderAsset shader, Inno.Rendering.ShaderPropertyId propertyId, out string error)

Parameter shader: The canonical Shader used by the Material.

Parameter propertyId: The stable binding identity.

Parameter error: Receives the source diagnostic, or an empty string when presentation is available.

Detached presentation values; an unavailable graph uses the ordinary presentation defaults.