Navigation
API > API/Plugins > API/Plugins/AccumulationDOF
Movie Graph deferred render pass for aperture-sampled depth of field.
This pass renders multiple aperture samples with off-axis projection matrices and accumulates them using GPU shaders to produce plausible DOF.
Camera parameters (focal length, aperture, focus distance) are read from the CineCameraActor being rendered by the sequence.
| Name | FMovieGraphAccumulationDOFPass |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/AccumulationDOF/Source/AccumulationDOF/Public/MovieGraphAccumulationDOFPass.h |
| Include Path | #include "MovieGraphAccumulationDOFPass.h" |
Syntax
struct FMovieGraphAccumulationDOFPass : public UE::MovieGraph::Rendering::FMovieGraphDeferredPass
Inheritance Hierarchy
- UE::MovieGraph::Rendering::FMovieGraphDeferredPass → FMovieGraphAccumulationDOFPass
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMovieGraphAccumulationDOFPass() |
MovieGraphAccumulationDOFPass.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FMovieGraphAccumulationDOFPass() |
MovieGraphAccumulationDOFPass.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ApertureSampler | TObjectPtr< UApertureSampler > | Aperture sampler that handles sample rendering and accumulation. | MovieGraphAccumulationDOFPass.h | |
| bCameraParamsInitialized | bool | Track whether we've initialized camera-dependent state. | MovieGraphAccumulationDOFPass.h | |
| bInCapturePass | bool | Flag to indicate we're doing a capture pass (so AddViewExtensions knows to add the capture SVE). | MovieGraphAccumulationDOFPass.h | |
| bInInjectionPass | bool | Flag to indicate we're doing the injection pass (so AddViewExtensions knows to add the injection SVE). | MovieGraphAccumulationDOFPass.h | |
| CachedActualNumSamples | int32 | Effective telemetry values captured while render-layer modifiers are active. | MovieGraphAccumulationDOFPass.h | |
| CachedCineCameraComponent | TWeakObjectPtr< UCineCameraComponent > | Cached reference to CineCameraComponent for SVE settings. | MovieGraphAccumulationDOFPass.h | |
| CachedDOFComponent | TWeakObjectPtr< UAccumulationDOFComponent > | Cached reference to AccumulationDOFComponent (found in CineCameraActor). | MovieGraphAccumulationDOFPass.h | |
| CachedEffectiveDOFSplatSize | float | MovieGraphAccumulationDOFPass.h | ||
| CachedMotionBlurFraction | float | Cached motion blur fraction from current frame's sample state. | MovieGraphAccumulationDOFPass.h | |
| CachedSceneFringeIntensity | float | Cached SceneFringeIntensity from the first sample's SVE (blended with PP volumes). | MovieGraphAccumulationDOFPass.h | |
| CaptureExtension | TSharedPtr< FAccumulationDOFSceneViewExtension, ESPMode::ThreadSafe > | Scene View Extension for capture passes (one per aperture sample). | MovieGraphAccumulationDOFPass.h | |
| CurrentApertureSampleIndex | int32 | Current sample being rendered | MovieGraphAccumulationDOFPass.h | |
| CurrentAxialCAWeight | FVector3f | RGB weight for current spectral band in axial chromatic aberration. | MovieGraphAccumulationDOFPass.h | |
| CurrentFocusDistanceOverride | float | Focus distance override for axial CA (negative means no override). | MovieGraphAccumulationDOFPass.h | |
| CurrentTileCount | FIntPoint | Tile grid locked at Setup time. | MovieGraphAccumulationDOFPass.h | |
| CurrentTileIndex | FIntPoint | Active tile index for the current Render() iteration, used by helper functions. | MovieGraphAccumulationDOFPass.h | |
| CurrentTileOverlappedPad | FIntPoint | Tile overlap pad in pixels for the current Render() iteration. | MovieGraphAccumulationDOFPass.h | |
| InjectionExtension | TSharedPtr< FAccumulationDOFSceneViewExtension, ESPMode::ThreadSafe > | Scene View Extension for injection pass. | MovieGraphAccumulationDOFPass.h | |
| InjectionStatesInitialized | TSet< FIntPoint > | Tracks which per-tile injection view states have had their camera-cut prime applied. | MovieGraphAccumulationDOFPass.h | |
| InjectionViewStates | TMap< FIntPoint, FSceneViewStateReference > | Separate view state for injection renders, keyed per tile so the injection pass keeps its own temporal history per tile. | MovieGraphAccumulationDOFPass.h | |
| SavedLUTSize | int32 | Saved LUT size before override (0 if not overridden). | MovieGraphAccumulationDOFPass.h |
Functions
Public
Public Virtual
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
MovieGraphAccumulationDOFPass.h | ||
virtual void ApplyMovieGraphOverridesToSceneView
(
TSharedRef< FSceneViewFamilyContext > InOutFamily, |
MovieGraphAccumulationDOFPass.h | ||
virtual void CalculateProjectionMatrix
(
UE::MovieGraph::DefaultRenderer::FCameraInfo& InOutCameraInfo, |
MovieGraphAccumulationDOFPass.h | ||
virtual FVector2D ComputeProjectionMatrixJitter
(
const FVector2D& InDefaultJitter, |
MovieGraphAccumulationDOFPass.h | ||
virtual TSharedRef< FSceneViewFamilyContext > CreateSceneViewFamily
(
const UE::MovieGraph::Rendering::FViewFamilyInitData& InInitData |
MovieGraphAccumulationDOFPass.h | ||
virtual FSceneViewInitOptions CreateViewInitOptions
(
const UE::MovieGraph::DefaultRenderer::FCameraInfo& InCameraInfo, |
MovieGraphAccumulationDOFPass.h | ||
virtual void GetPreviewBannerMessages
(
TArray< FMovieGraphPreviewBannerMessage >& OutMessages |
MovieGraphAccumulationDOFPass.h | ||
virtual FSceneViewStateInterface * GetSceneViewState
(
UMovieGraphImagePassBaseNode* ParentNodeThisFrame, |
MovieGraphAccumulationDOFPass.h | ||
virtual void Render
(
const FMovieGraphTraversalContext& InFrameTraversalContext, |
MovieGraphAccumulationDOFPass.h | ||
virtual void Setup
(
TWeakObjectPtr< UMovieGraphDefaultRenderer > InRenderer, |
MovieGraphAccumulationDOFPass.h | ||
virtual void Teardown() |
MovieGraphAccumulationDOFPass.h | ||
virtual void UpdateRenderPassTelemetry
(
FMoviePipelineEndShotRenderTelemetryContext& InOutTelemetry |
MovieGraphAccumulationDOFPass.h |