Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/SceneTypes.h |
| Include | #include "SceneTypes.h" |
Syntax
class FSceneViewStateReference
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Allocate
(
ERHIFeatureLevel::Type FeatureLevel |
Allocates the Scene view state. | |
| void | AllocateAll
(
ERHIFeatureLevel::Type FeatureLevel |
Recreates all view states in the global list. | |
| void | Destroy () |
Destorys the Scene view state. | |
| void | DestroyAll () |
Destroys all view states, but does not remove them from the linked list. | |
| FSceneViewStateInterface * | GetReference () |
||
| 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. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Allocate () |
Allocate must be called with an appropriate RHI Feature Level | |
| void | AllocateAll () |
AllocateAll must be called with an appropriate RHI Feature Level |