Navigation
API > API/Runtime > API/Runtime/Engine
Class used to reference an FSceneViewStateInterface that allows destruction and recreation of all FSceneViewStateInterface's when needed. This is used to support reloading the renderer module on the fly.
| Name | FSceneViewStateReference |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneTypes.h |
| Include Path | #include "SceneTypes.h" |
Syntax
class FSceneViewStateReference
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSceneViewStateReference() |
SceneTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSceneViewStateReference() |
SceneTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GlobalListLink | TLinkedList< FSceneViewStateReference * > | SceneTypes.h | ||
| Reference | FSceneViewStateInterface * | SceneTypes.h | ||
| ShareOriginRefCount | int32 | Number of other view states that share this view state's origin. | SceneTypes.h | |
| ShareOriginTarget | FSceneViewStateReference * | SceneTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Allocate
(
ERHIFeatureLevel::Type FeatureLevel |
Allocates the Scene view state. | SceneTypes.h | |
void Destroy() |
Destorys the Scene view state. | SceneTypes.h | |
FSceneViewStateInterface * GetReference() |
SceneTypes.h | ||
void ShareOrigin
(
FSceneViewStateReference* Target |
Mark that a view state shares an origin with another view state, allowing sharing of some internal state, saving memory and performance. | SceneTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TLinkedList< FSceneViewStateReference * > *& GetSceneViewStateList() |
SceneTypes.h |