EDecalRenderStage

Actual values are used in the shader so do not change.

Windows
MacOS
Linux

References

Module

Renderer

Header

/Engine/Source/Runtime/Renderer/Public/DecalRenderingCommon.h

Include

#include "DecalRenderingCommon.h"

Syntax

enum EDecalRenderStage
{
    DRS_BeforeBasePass      = 0,
    DRS_AfterBasePass       = 1,
    DRS_BeforeLighting      = 2,
    DRS_Mobile              = 3,
    DRS_AmbientOcclusion    = 4,
    DRS_Emissive            = 5,
}

Values

Name

Description

DRS_BeforeBasePass

For DBuffer decals (get proper baked lighting)

DRS_AfterBasePass

For volumetrics to update the depth buffer

DRS_BeforeLighting

For normal decals not modifying the depth buffer

DRS_Mobile

For rendering decals on mobile

DRS_AmbientOcclusion

For rendering ambient occlusion decals

DRS_Emissive

For DBuffer decals that have emissive component.

Remarks

Actual values are used in the shader so do not change.

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