LetterboxDesignResolution Class
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 sealed record LetterboxDesignResolution : System.IEquatable<Brine2D.Rendering.SDL.PostProcessing.LetterboxDesignResolution>
Inheritance System.Object → LetterboxDesignResolution
Implements System.IEquatable<LetterboxDesignResolution>
| Constructors | |
|---|---|
| LetterboxDesignResolution\(int, int\) | 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. |
| Properties | |
|---|---|
| Height | The fixed design height, in pixels. |
| Width | The fixed design width, in pixels. |