Language:
Discover
By Skill Level
By Category

ESimpleRenderTargetMode

Choose your OS:

Syntax

enum ESimpleRenderTargetMode
{
    EExistingColorAndDepth,
    EUninitializedColorAndDepth,
    EUninitializedColorExistingDepth,
    EUninitializedColorClearDepth,
    EClearColorExistingDepth,
    EClearColorAndDepth,
    EExistingContents_NoDepthStore,
    EExistingColorAndClearDepth,
    EExistingColorAndDepthAndClearStencil,
}

Values

Name

Description

EExistingColorAndDepth

These will all store out color and depth.

EUninitializedColorAndDepth

Color = Existing, Depth = Existing.

EUninitializedColorExistingDepth

Color = ????, Depth = ????

EUninitializedColorClearDepth

Color = ????, Depth = Existing.

EClearColorExistingDepth

Color = ????, Depth = Default.

EClearColorAndDepth

Clear Color = whatever was bound to the rendertarget at creation time. Depth = Existing.

EExistingContents_NoDepthStore

Clear color and depth to bound clear values.

EExistingColorAndClearDepth

Load existing contents, but don't store depth out. depth can be written.

EExistingColorAndDepthAndClearStencil

Color = Existing, Depth = clear value.

Remarks

Common render target use cases

References

Module

RHI

Header

Runtime/RHI/Public/RHIDefinitions.h