Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
Include |
#include "StaticMeshResources.h" |
class FStaticMeshComponentRecreateRenderStateContext
FStaticMeshComponentRecreateRenderStateContext - Destroys render state for all StaticMeshComponents using a given StaticMesh and recreates them when it goes out of scope. Used to ensure stale rendering data isn't kept around in the components when importing over or rebuilding an existing static mesh.
Name | Description | |
---|---|---|
|
FStaticMeshComponentRecreateRenderStateContext ( |
Initialization constructor. |
|
FStaticMeshComponentRecreateRenderStateContext ( |
Initialization constructor. |
Name | Description | |
---|---|---|
|
~FStaticMeshComponentRecreateRenderStateContext() |
Destructor: recreates render state for all components that had their render states destroyed in the constructor. |
Name | Description | ||
---|---|---|---|
|
const TArray... |
GetComponentsUsingMesh ( |
Get all static mesh components that are using the provided static mesh. |