RenderCanvas

Summary

Remarks

Danger

All calls made within this class MUST be performed on the Master Thread. See Threads.RunLater on how to safely call this from an asynchronous thread. Failure to comply with this can cause catastrophical failures as the engine is not designed for this.

Important

This class MUST be disposed manually.

Definition

Namespace: SDT4.Managed.Renderer.Graphics
Assembly: SDT4.Managed.Renderer.dll

sealed class RenderCanvas
Inheritance:

Object ➔ RenderCanvas

Implements:

IDisposable

Fields

Name Type Description

Properties

Name Type Description
public get; IsValid Boolean States if the render canvas is valid. Possible cases where the render canvas is invalid includes if the object has been disposed, or if this is owned by a window and it has been resized.
public get; IsAttached Boolean States if the canvas is at least used by 1 IRenderCanvasAttacher;
public get; SwapChainWindow Window The window that defines this render canvas, if defined by a window.

Methods

public Void Dispose()


public virtual String? ToString()

Returns: