Synced
EditorViewportOutput.Constructor
Section titled “EditorViewportOutput.Constructor”
- Creates an editor viewport output snapshot.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Rendering
Declaration
Section titled “Declaration”public Inno.Editor.Rendering.EditorViewportOutput.EditorViewportOutput(string viewportId, Inno.Adapter.Presentation.PresentationTextureHandle texture, int pixelWidth, int pixelHeight)Parameters
Section titled “Parameters”Parameter viewportId: Stable viewport identity.
Parameter texture: Opaque presentation token, or an invalid token while warming up.
Parameter pixelWidth: Current target width.
Parameter pixelHeight: Current target height.