Search Results for

    Show / Hide Table of Contents

    Class MotionBlurPass

    Anti aliasing rendering service

    Inheritance
    Singleton
    RendererPass
    MotionBlurPass
    Inherited Members
    RendererPassBase::_hasValidResources
    RendererPassBase::checkIfSkipPass()
    Object::DeleteObject(float timeToLive = 0.0f, bool useGameTime=false)
    Object::DeleteObjectNow()
    Object::Flags
    Singleton::Instance()
    RendererPassBase::invalidateResources()
    RendererPassBase::IsReady()
    Object::OnDeleteObject()
    RendererPassBase::RendererPassBase()
    Singleton::Singleton()
    Object::~Object()
    Singleton::~Singleton()
    Assembly: FlaxEngine.dll
    File: Engine/Renderer/MotionBlurPass.h
    Syntax
    public class MotionBlurPass : public RendererPass

    Constructors

    MotionBlurPass()

    Init

    Declaration
    public MotionBlurPass()

    Methods

    Dispose()

    Cleanup service data.

    Declaration
    public virtual void Dispose() override
    Overrides
    RendererPassBase::Dispose()

    Init()

    Initialize service.

    Declaration
    public virtual bool Init() override
    Returns
    bool

    Overrides
    RendererPassBase::Init()

    Render(RenderContext& renderContext, GPUTexture*& frame, GPUTexture*& tmp)

    Renders the motion blur. Swaps the input with output if rendering is performed. Does nothing if rendering is not performed.

    Declaration
    public void Render(RenderContext& renderContext, GPUTexture*& frame, GPUTexture*& tmp)
    Parameters
    RenderContext renderContext

    The rendering context.

    GPUTexture frame

    Input and output frame (leave unchanged when not using this effect).

    GPUTexture tmp

    Temporary frame (the same format as frame)

    RenderDebug(RenderContext& renderContext, GPUTextureView* frame)

    Renders the motion vectors debug view.

    Declaration
    public void RenderDebug(RenderContext& renderContext, GPUTextureView* frame)
    Parameters
    RenderContext renderContext

    The rendering context.

    GPUTextureView frame

    The source frame.

    RenderMotionVectors(RenderContext& renderContext)

    Renders the motion vectors texture for the current task. Skips if motion blur is disabled or no need to render motion vectors.

    Declaration
    public void RenderMotionVectors(RenderContext& renderContext)
    Parameters
    RenderContext renderContext

    The rendering context.

    setupResources()

    Declaration
    protected virtual bool setupResources() override
    Returns
    bool

    Overrides
    RendererPassBase::setupResources()

    ToString()

    Gets the string representation of this object.

    Declaration
    public virtual String ToString() const override
    Returns
    String

    Overrides
    Object::ToString()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat