Skip to content

SDL3RenderTargetManager.SetSwapchainDimensions(int, int) Method

Definition

Namespace: Brine2D.Rendering

Propagates the live swapchain \(window\) size to any registered letterbox effect, so it can recompute its centered fit rect. Safe to call regardless of whether UsesFixedDesignResolution is true.

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

Parameters

width System.Int32

height System.Int32