EDrawRectangleFlags

Use r.DrawDenormalizedQuadMode to override the function call setting (quick way to see if an artifact is caused by this optimization)

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RendererInterface.h

Include

#include "RendererInterface.h"

Syntax

enum EDrawRectangleFlags
{
    EDRF_Default,
    EDRF_UseTriangleOptimization,
    EDRF_UseTesselatedIndexBuffer,
}

Values

Name

Description

EDRF_Default

Rectangle is created by 2 triangles (diagonal can cause some slightly less efficient shader execution), this is the default as it has no artifacts.

EDRF_UseTriangleOptimization

EDRF_UseTesselatedIndexBuffer

Remarks

Use r.DrawDenormalizedQuadMode to override the function call setting (quick way to see if an artifact is caused by this optimization)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss