Search Results for

    Show / Hide Table of Contents

    Struct RenderContext

    The high-level renderer context. Used to collect the draw calls for the scene rendering. Can be used to perform a custom rendering.

    Assembly: FlaxEngine.dll
    File: Engine/Graphics/RenderTask.h
    Syntax
    public struct RenderContext

    Constructors

    RenderContext()

    Declaration
    public RenderContext() = default

    RenderContext(SceneRenderTask* task)

    Declaration
    public RenderContext(SceneRenderTask* task) noexcept
    Parameters
    SceneRenderTask task

    Fields

    Buffers

    The render buffers.

    Declaration
    public RenderBuffers* Buffers = nullptr
    Field Value
    RenderBuffers

    GPULocker

    The GPU access locking critical section to protect data access when performing multi-threaded rendering.

    Declaration
    public static CriticalSection GPULocker
    Field Value
    CriticalSection

    List

    The render list.

    Declaration
    public RenderList* List = nullptr
    Field Value
    RenderList

    LodProxyView

    The proxy render view used to synchronize objects level of detail during rendering (eg. during shadow maps rendering passes). It's optional.

    Declaration
    public RenderView* LodProxyView = nullptr
    Field Value
    RenderView

    Task

    The scene rendering task that is a source of renderable objects (optional).

    Declaration
    public SceneRenderTask* Task = nullptr
    Field Value
    SceneRenderTask

    View

    The render view.

    Declaration
    public RenderView View
    Field Value
    RenderView

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat