UEConsole Commands
VariableConsole VariableRenderer

r.DrawRectangleOptimization

r.DrawRectangleOptimization is a console variable in Unreal Engine 5 (UE5). See what r.DrawRectangleOptimization does, its values, and how to use this cvar in the Unreal console below.

Category: Renderer · Namespace: r

Help

Controls an optimization for DrawRectangle(). When enabled a triangle can be used to draw a quad in certain situations (viewport sized quad). Using a triangle allows for slightly faster post processing in lower resolutions but can not always be used. 0: Optimization is disabled, DrawDenormalizedQuad always render with quad 1: Optimization is enabled, a triangle can be rendered where specified (default)

Usage

Unreal console (open with ~)
> r.DrawRectangleOptimization 1

Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.

Related in r