Navigation
API > API/Runtime > API/Runtime/Engine
Destroys render states for all components or for a provided list of components and then recreates them when this object is destroyed
| Name | FGlobalComponentRecreateRenderStateContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/ComponentRecreateRenderStateContext.h |
| Include Path | #include "ComponentRecreateRenderStateContext.h" |
Syntax
class FGlobalComponentRecreateRenderStateContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Initialization constructor. | ComponentRecreateRenderStateContext.h | ||
FGlobalComponentRecreateRenderStateContext
(
const TArray< UActorComponent* >& InComponents |
Initialization constructor for a provided component list. | ComponentRecreateRenderStateContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FGlobalComponentRecreateRenderStateContext() |
Destructor | ComponentRecreateRenderStateContext.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ActiveGlobalRecreateRenderStateContextCount | int32 | Indicates that a FGlobalComponentRecreateRenderStateContext is currently active | ComponentRecreateRenderStateContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComponentContexts | TArray< FComponentRecreateRenderStateContext > | The recreate contexts for the individual components. | ComponentRecreateRenderStateContext.h | |
| ScenesToUpdateAllPrimitiveSceneInfos | TSet< FSceneInterface * > | ComponentRecreateRenderStateContext.h |