Skip to content

LetterboxDesignResolution(int, int) Constructor

Definition

Namespace: Brine2D.Rendering.SDL.PostProcessing

Marker/config record indicating that a LetterboxEffect has been registered and the main/ping-pong post-processing render targets should be created at this fixed design resolution instead of the live viewport size.

C#
public LetterboxDesignResolution(int Width, int Height);

Parameters

Width System.Int32

The fixed design width, in pixels.

Height System.Int32

The fixed design height, in pixels.