Navigation
API > API/Runtime > API/Runtime/Engine
Setting to control shadow invalidation behavior (in particular with respect to Virtual Shadow Maps and future methods).
| Name | EShadowCacheInvalidationBehavior |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneTypes.h |
| Include Path | #include "SceneTypes.h" |
Syntax
enum EShadowCacheInvalidationBehavior
{
Auto,
Always,
Rigid,
Static,
}
Values
| Name | Remarks |
|---|---|
| Auto | Default. |
| Always | Always invalidate shadows, can be used to flag a primitive that is using some method of animating that is not known to the system. |
| Rigid | Suppresses invalidations that would otherwise be generated by e.g., World Position Offset (WPO). |
| Static | In addition to "Rigid" behavior, also suppress invalidations due to transform changes. |