Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/RendererSettings.h |
Include | #include "Engine/RendererSettings.h" |
Syntax
namespace EClearSceneOptions
{
enum Type
{
NoClear = 0 UMETA(DisplayName="Do not clear",ToolTip="This option is fastest but can cause artifacts unless you render to every pixel. Make sure to use a skybox with this option!"),
HardwareClear = 1 UMETA(DisplayName="Hardware clear",ToolTip="Perform a full hardware clear before rendering. Most projects should use this option."),
QuadAtMaxZ = 2 UMETA(DisplayName="Clear at far plane",ToolTip="Draws a quad to perform the clear at the far plane, this is faster than a hardware clear on some GPUs."),
}
}
Values
Name | Description |
---|---|
NoClear | |
HardwareClear | |
QuadAtMaxZ |
Remarks
Enumerates ways to clear a scene.