Skip to content

IRenderTarget Interface

Definition

Namespace: Brine2D.Rendering

Platform-agnostic render target interface for off-screen rendering. GPU renderer only - legacy renderer throws NotSupportedException.

C#
public interface IRenderTarget : System.IDisposable

Derived
↳ RenderTarget

Implements System.IDisposable

Properties
Height Height of the render target in pixels.
Texture The underlying texture that can be sampled after rendering.
Width Width of the render target in pixels.