FSceneViewStateReference

Class used to reference an [FSceneViewStateInterface](API\Runtime\Engine\FSceneViewStateInterface) that allows destruction and recreation of all [FSceneViewStateInterface](API\Runtime\Engine\FSceneViewStateInterface)'s when needed.

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public function

FSceneViewStateReference()

Destructors

Name Description

Public function Virtual

~FSceneViewStateReference()

Functions

Name Description

Public function

void

 

Allocate

(
    ERHIFeatureLevel::Type FeatureLevel
)

Allocates the Scene view state.

Public function Static

void

 

AllocateAll

(
    ERHIFeatureLevel::Type FeatureLevel
)

Recreates all view states in the global list.

Public function

void

 

Destroy()

Destorys the Scene view state.

Public function Static

void

 

DestroyAll()

Destroys all view states, but does not remove them from the linked list.

Public function

FSceneViewSt...

 

GetReference()

Deprecated Functions

Name Description

Public function

void

 

Allocate()

Allocate must be called with an appropriate RHI Feature Level

Public function Static

void

 

AllocateAll()

AllocateAll must be called with an appropriate RHI Feature Level