Navigation
API > API/Runtime > API/Runtime/Engine
Name
EPrimitiveDirtyState
Type
enum
Header File
/Engine/Source/Runtime/Engine/Public/PrimitiveDirtyState.h
Include Path
#include "PrimitiveDirtyState.h"
Syntax
enum EPrimitiveDirtyState
{
None = 0U,
ChangedTransform = (1U << 1U),
ChangedStaticLighting = (1U << 2U),
ChangedOther = (1U << 3U),
Added = (1U << 4U),
Removed = (1U << 5U),
ChangedAll = ChangedTransform | ChangedStaticLighting | ChangedOther,
AddedMask = ChangedAll | Added,
}
Copy full snippet
Values
Name
Remarks
None
ChangedTransform
ChangedStaticLighting
ChangedOther
Added
The Added flag is a bit special, as it is used to skip invalidations in the VSM, and thus must only be set if the primitive is in fact added (a previous remove must have been processed by GPU scene, or it is new).
Removed
ChangedAll
AddedMask
Mark all data as changed and set Added flag.