Synced
MaterialDocuments.Presentation
Section titled “MaterialDocuments.Presentation”
- Reads parameter presentation from the current authoring Shader graph.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Shaders
Declaration
Section titled “Declaration”public Inno.Editor.Shaders.ShaderParameterPresentation Inno.Editor.Shaders.MaterialDocuments.Presentation(Inno.Rendering.Assets.ShaderAsset shader, Inno.Rendering.ShaderPropertyId propertyId, out string error)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”Detached presentation values; an unavailable graph uses the ordinary presentation defaults.