engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FSceneViewStateInterface类 参考abstract

The scene manager's persistent view state. 更多...

#include <SceneManagement.h>

Public 成员函数

virtual void ActivateFrozenViewMatrices (FSceneView &SceneView)=0
 If frozen view matrices are available, set those as active on the SceneView
 
virtual void ClearMIDPool ()=0
 Clears the pool of mids being referenced by this view state
 
virtual void Destroy ()=0
 Called in the game thread to destroy the view state.
 
virtual FSceneViewState * GetConcreteViewState ()=0
 
virtual const FExposureBufferData * GetCurrentEyeAdaptationBuffer () const =0
 Returns the eye adaptation buffer (mobile only).
 
virtual IPooledRenderTarget * GetCurrentEyeAdaptationTexture () const =0
 Returns the eye adaptation texture (SM5+ only).
 
virtual const FViewMatrices * GetFrozenViewMatrices () const =0
 If frozen view matrices are available, return a pointer to them
 
virtual uint32 GetOcclusionFrameCounter () const =0
 returns the occlusion frame counter
 
virtual float GetPreExposure () const =0
 Returns the current PreExposure value. 更多...
 
virtual UMaterialInstanceDynamic * GetReusableMID (class UMaterialInterface *InSource)=0
 Allows MIDs being created and released during view rendering without the overhead of creating and releasing objects As MID are not allowed to be parent of MID this gets fixed up by parenting it to the next Material or MIC 更多...
 
virtual FTemporalLODState & GetTemporalLODState ()=0
 Returns the temporal LOD struct from the viewstate
 
virtual float GetTemporalLODTransition () const =0
 Returns the blend factor between the last two LOD samples
 
virtual uint32 GetViewKey () const =0
 returns a unique key for the view state, non-zero
 
FSceneViewStateInterface * GetViewParent ()
 
const FSceneViewStateInterface * GetViewParent () const
 
bool HasValidEyeAdaptationTexture () const
 Tells if the eye adaptation texture / buffer exists without attempting to allocate it.
 
bool HasViewParent () const
 
bool IsViewParent () const
 
virtual void OnStartPostProcessing (FSceneView &CurrentView)=0
 Resets pool for GetReusableMID()
 
virtual void RestoreUnfrozenViewMatrices (FSceneView &SceneView)=0
 If frozen view matrices were set, restore the previous view matrices
 
void SetViewParent (FSceneViewStateInterface *InViewParent)
 Sets the view state's scene parent.
 

详细描述

The scene manager's persistent view state.

成员函数说明

◆ GetConcreteViewState()

virtual FSceneViewState * FSceneViewStateInterface::GetConcreteViewState ( )
pure virtual
返回
the derived view state object

◆ GetPreExposure()

virtual float FSceneViewStateInterface::GetPreExposure ( ) const
pure virtual

Returns the current PreExposure value.

PreExposure is a custom scale applied to the scene color to prevent buffer overflow.

◆ GetReusableMID()

virtual UMaterialInstanceDynamic * FSceneViewStateInterface::GetReusableMID ( class UMaterialInterface *  InSource)
pure virtual

Allows MIDs being created and released during view rendering without the overhead of creating and releasing objects As MID are not allowed to be parent of MID this gets fixed up by parenting it to the next Material or MIC

参数
InSourcecan be Material, MIC or MID, must not be 0

◆ GetViewParent() [1/2]

FSceneViewStateInterface * FSceneViewStateInterface::GetViewParent ( )
inline
返回
The view state's scene parent, or NULL if none present.

◆ GetViewParent() [2/2]

const FSceneViewStateInterface * FSceneViewStateInterface::GetViewParent ( ) const
inline
返回
The view state's scene parent, or NULL if none present.

◆ HasViewParent()

bool FSceneViewStateInterface::HasViewParent ( ) const
inline
返回
true if the scene state has a parent, false otherwise.

◆ IsViewParent()

bool FSceneViewStateInterface::IsViewParent ( ) const
inline
返回
true if this scene state is a parent, false otherwise.

该类的文档由以下文件生成: