SwapChain
Introduction
Creating a SwapChain
Renderer.CreateDefaultSwapChain();Renderer.SwapChain = new FlatRedBall.Graphics.PostProcessing.SwapChain(
FlatRedBallServices.Game.Window.ClientBounds.Width,
FlatRedBallServices.Game.Window.ClientBounds.Height);
FlatRedBallServices.GraphicsOptions.SizeOrOrientationChanged += (_,_) =>
{
Renderer.SwapChain.UpdateRenderTargetSize(
FlatRedBallServices.Game.Window.ClientBounds.Width,
FlatRedBallServices.Game.Window.ClientBounds.Height);
};SwapChain Concepts





Last updated
Was this helpful?