Synced
ShaderPreviewContext
Section titled “ShaderPreviewContext”
- Carries frame-only preview inputs; persistent provider state must retain stable values rather than this object.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Editor.Shaders
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Shaders.ShaderPreviewContextMembers
Section titled “Members”| 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. |