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

The interface to an effects system. 更多...

#include <FXSystem.h>

Public 成员函数

virtual void AddVectorField (UVectorFieldComponent *VectorFieldComponent)=0
 Add a vector field to the FX system. 更多...
 
virtual ENGINE_API void DestroyGPUSimulation ()
 Gamethread callback when destroy gets called, allows to clean up references.
 
virtual void DrawDebug (FCanvas *Canvas)=0
 Draw desired debug information related to the effects system. 更多...
 
virtual void DrawDebug_RenderThread (class FRDGBuilder &GraphBuilder, const class FViewInfo &View, const struct FScreenPassRenderTarget &Output)
 Draw desired debug information related to the effects system on the render thread. 更多...
 
virtual FGPUSortManager * GetGPUSortManager () const =0
 Get the shared SortManager, used in the rendering loop to call FGPUSortManager::OnPreRender() and FGPUSortManager::OnPostRenderOpaque()
 
virtual FFXSystemInterface * GetInterface (const FName &InName)
 Return the interface bound to the given name.
 
virtual ENGINE_API void OnDestroy ()
 Gamethread callback when destroy gets called, allows to clean up references.
 
virtual void PostRenderOpaque (FRHICommandListImmediate &RHICmdList, FRHIUniformBuffer *ViewUniformBuffer, const class FShaderParametersMetadata *SceneTexturesUniformBufferStruct, FRHIUniformBuffer *SceneTexturesUniformBuffer, bool bAllowGPUParticleUpdate)=0
 Notification from the renderer that opaque primitives have rendered.
 
virtual void PreInitViews (FRHICommandListImmediate &RHICmdList, bool bAllowGPUParticleUpdate)=0
 Notification from the renderer that it is about to perform visibility checks on FX belonging to this system.
 
virtual void PreRender (FRHICommandListImmediate &RHICmdList, const class FGlobalDistanceFieldParameterData *GlobalDistanceFieldParameterData, bool bAllowGPUParticleSceneUpdate)=0
 Notification from the renderer that it is about to draw FX belonging to this system.
 
virtual void RemoveVectorField (UVectorFieldComponent *VectorFieldComponent)=0
 Remove a vector field from the FX system. 更多...
 
virtual bool ShouldDebugDraw_RenderThread () const
 Does the FX system require DrawDebug_RenderThread to be called at all? There is cost to enabling this so only return true when we have something to present.
 
virtual void Tick (float DeltaSeconds)=0
 Tick the effects system. 更多...
 
virtual void UpdateVectorField (UVectorFieldComponent *VectorFieldComponent)=0
 Update a vector field registered with the FX system. 更多...
 

静态 Public 成员函数

static ENGINE_API FFXSystemInterface * Create (ERHIFeatureLevel::Type InFeatureLevel, EShaderPlatform InShaderPlatform)
 Create an effects system instance.
 
static ENGINE_API void Destroy (FFXSystemInterface *FXSystem)
 Destroy an effects system instance.
 
static ENGINE_API void QueueDestroyGPUSimulation (FFXSystemInterface *FXSystem)
 Queue Destroy the gpu simulation on the render thread
 
static ENGINE_API void RegisterCustomFXSystem (const FName &InterfaceName, const FCreateCustomFXSystemDelegate &InCreateDelegate)
 Register a custom FX system implementation.
 
static ENGINE_API void UnregisterCustomFXSystem (const FName &InterfaceName)
 Unregister a custom FX system implementation.
 

Protected 成员函数

virtual ENGINE_API ~FFXSystemInterface ()
 By making the destructor protected, an instance must be destroyed via FFXSystemInterface::Destroy.
 

详细描述

The interface to an effects system.

成员函数说明

◆ AddVectorField()

virtual void FFXSystemInterface::AddVectorField ( UVectorFieldComponent *  VectorFieldComponent)
pure virtual

Add a vector field to the FX system.

参数
VectorFieldComponentThe vector field component to add.

◆ DrawDebug()

virtual void FFXSystemInterface::DrawDebug ( FCanvas *  Canvas)
pure virtual

Draw desired debug information related to the effects system.

参数
CanvasThe canvas on which to draw.

◆ DrawDebug_RenderThread()

virtual void FFXSystemInterface::DrawDebug_RenderThread ( class FRDGBuilder &  GraphBuilder,
const class FViewInfo &  View,
const struct FScreenPassRenderTarget &  Output 
)
inlinevirtual

Draw desired debug information related to the effects system on the render thread.

参数
CanvasThe canvas on which to draw.

◆ RemoveVectorField()

virtual void FFXSystemInterface::RemoveVectorField ( UVectorFieldComponent *  VectorFieldComponent)
pure virtual

Remove a vector field from the FX system.

参数
VectorFieldComponentThe vector field component to remove.

◆ Tick()

virtual void FFXSystemInterface::Tick ( float  DeltaSeconds)
pure virtual

Tick the effects system.

参数
DeltaSecondsThe number of seconds by which to step simulations forward.

◆ UpdateVectorField()

virtual void FFXSystemInterface::UpdateVectorField ( UVectorFieldComponent *  VectorFieldComponent)
pure virtual

Update a vector field registered with the FX system.

参数
VectorFieldComponentThe vector field component to update.

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