Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore
This class is the default implementation for the Movie Graph Pipeline renderer. This is split off into a separate class to minimize the complexity of the core UMovieGraphPipeline, and to provide a better way to store render-specific data during runtime. It is responsible for taking all of the render passes and rendering them, and then moving their rendered data back to the main UMoviePipeline OutputMerger once finished.
It is unlikely you will want to implement your own renderer. If you need to create new render passes, inherit from UMovieGraphRenderPassNode and add it to your configuration, at which point MRQ will call function on the CDO of it that allow you to set up your own render data.
| Name | UMovieGraphDefaultRenderer |
| Type | class |
| Header File | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/Graph/MovieGraphDefaultRenderer.h |
| Include Path | #include "Graph/MovieGraphDefaultRenderer.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UMovieGraphDefaultRenderer : public UMovieGraphRendererBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieGraphRendererBase → UMovieGraphDefaultRenderer
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddOutstandingRenderTask_AnyThread
(
UE::Tasks::FTask InTask |
Graph/MovieGraphDefaultRenderer.h | ||
UE::MovieGraph::DefaultRenderer::FCameraInfo GetCameraInfo
(
const int32 InCameraIndex |
Fetches information for the given camera index. | Graph/MovieGraphDefaultRenderer.h | |
float GetCameraOverscan
(
int32 InCameraIndex |
Gets the overscan value for the specified camera. | Graph/MovieGraphDefaultRenderer.h | |
bool GetHasRenderedFirstViewThisFrame() |
Graph/MovieGraphDefaultRenderer.h | ||
FMoviePipelineAccumulatorPoolPtr GetOrCreateAccumulatorPool() |
Graph/MovieGraphDefaultRenderer.h | ||
FMoviePipelineSurfaceQueuePtr GetOrCreateSurfaceQueue
(
const UE::MovieGraph::DefaultRenderer::FRenderTargetInitParams& InInitParams |
Graph/MovieGraphDefaultRenderer.h | ||
UTextureRenderTarget2D * GetOrCreateViewRenderTarget
(
const UE::MovieGraph::DefaultRenderer::FRenderTargetInitParams& InInitParams, |
Graph/MovieGraphDefaultRenderer.h | ||
void SetHasRenderedFirstViewThisFrame
(
bool bInValue |
Graph/MovieGraphDefaultRenderer.h | ||
void WarnAboutAnimatedOverscan
(
float InInitialOverscan |
Outputs a warning message regarding animated overscan to the MRQ log if one has not already been output | Graph/MovieGraphDefaultRenderer.h |
Overridden from UMovieGraphRendererBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< FMovieGraphImagePreviewData > GetPreviewData() |
Get an array of image previews that are valid this frame. | Graph/MovieGraphDefaultRenderer.h | |
virtual UE::MovieGraph::FRenderTimeStatistics * GetRenderTimeStatistics
(
const int32 InFrameNumber |
Graph/MovieGraphDefaultRenderer.h | ||
virtual void Render
(
const FMovieGraphTimeStepData& InTimeData |
Graph/MovieGraphDefaultRenderer.h | ||
virtual void SetupRenderingPipelineForShot
(
UMoviePipelineExecutorShot* InShot |
Graph/MovieGraphDefaultRenderer.h | ||
virtual void TeardownRenderingPipelineForShot
(
UMoviePipelineExecutorShot* InShot |
Graph/MovieGraphDefaultRenderer.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMoviePipelineSurfaceQueuePtr CreateSurfaceQueue
(
const UE::MovieGraph::DefaultRenderer::FRenderTargetInitParams& InInitParams |
Graph/MovieGraphDefaultRenderer.h | ||
TObjectPtr< UTextureRenderTarget2D > CreateViewRenderTarget
(
const UE::MovieGraph::DefaultRenderer::FRenderTargetInitParams& InInitParams |
Graph/MovieGraphDefaultRenderer.h | ||
void FlushAsyncEngineSystems
(
const TObjectPtr< UMovieGraphEvaluatedConfig >& InConfig |
Graph/MovieGraphDefaultRenderer.h | ||
void GetCameraLocationsForFrame
(
TArray< FVector >& OutLocations, |
Gets the camera locations for the current frame to inform the grass system of where streaming is required. | Graph/MovieGraphDefaultRenderer.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
Graph/MovieGraphDefaultRenderer.h |