Skip to content

SDL3PostProcessPipeline.SetSwapchainDimensions(int, int) Method

Definition

Namespace: Brine2D.Rendering.SDL.PostProcessing

Propagate the live swapchain \(window\) size to any registered LetterboxEffect. Unlike SetEffectDimensions\(int, int\), this does not affect other effects and is safe to call every frame or on every resize even when the main/ping-pong render targets stay at a fixed design resolution.

C#
public void SetSwapchainDimensions(int width, int height);

Parameters

width System.Int32

height System.Int32