Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Carries frame-only preview inputs; persistent provider state must retain stable values rather than this object.

API: engine
Inherits: object
Project: Inno.Editor.Shaders

public sealed class Inno.Editor.Shaders.ShaderPreviewContext
Kind Element Description
Constructors ShaderPreviewContext.Constructor Creates a preview invocation from host-owned detached inputs.
Properties ShaderPreviewContext.artifact Gets the complete immutable GPU candidate.
Properties ShaderPreviewContext.definition Gets the candidate’s exact contract, not the latest uncompiled source interface.
Properties ShaderPreviewContext.diagnostics Gets the host-owned, isolated diagnostic producer.
Properties ShaderPreviewContext.material Gets the invocation-local Material values.
Properties ShaderPreviewContext.pixelHeight Gets target height in physical pixels.
Properties ShaderPreviewContext.pixelWidth Gets target width in physical pixels.
Properties ShaderPreviewContext.resourceId Gets the publication scope released by the host when this preview closes.