Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a preview invocation from host-owned detached inputs.

API: scripting
Project: Inno.Editor.Shaders
Scope: Editor

public InnoEditor.Shaders.ShaderPreviewContext.ShaderPreviewContext(InnoEngine.Rendering.RenderPersistentResourceId resourceId, InnoEngine.Rendering.MaterialAsset material, InnoEngine.Rendering.RenderShaderArtifact artifact, InnoEngine.Rendering.ShaderDefinition definition, InnoEngine.Diagnostics.IDiagnosticReporter diagnostics, int pixelWidth, int pixelHeight)

Parameter resourceId: Isolated material publication and viewport resource identity.

Parameter material: Detached values with a current Shader reference; do not modify the reference.

Parameter artifact: Compiled candidate, never published as a canonical Shader.

Parameter definition: Detached contract captured by the candidate.

Parameter diagnostics: Preview-local reporter; errors must not contaminate project diagnostics.

Parameter pixelWidth: Positive target width.

Parameter pixelHeight: Positive target height.