Search Results for

    Show / Hide Table of Contents

    Class GPUTasksManager

    Graphics Device work manager.

    Inheritance
    Object
    GPUTasksManager
    Inherited Members
    Object::DeleteObject(float timeToLive = 0.0f, bool useGameTime=false)
    Object::DeleteObjectNow()
    Object::Flags
    NonCopyable::NonCopyable()
    NonCopyable::NonCopyable(const NonCopyable& )
    Object::OnDeleteObject()
    NonCopyable::operator=(const NonCopyable& )
    Object::~Object()
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/Async/GPUTasksManager.h
    Syntax
    public class GPUTasksManager : public Object, public NonCopyable

    Constructors

    GPUTasksManager()

    Declaration
    public GPUTasksManager()

    Methods

    Dispose()

    Clears asynchronous resources loading queue and cancels all tasks.

    Declaration
    public void Dispose()

    FrameBegin()

    On begin rendering frame.

    Declaration
    public void FrameBegin()

    FrameEnd()

    On end rendering frame.

    Declaration
    public void FrameEnd()

    GetExecutor()

    Gets the GPU tasks executor.

    Declaration
    public GPUTasksExecutor* GetExecutor() const
    Returns
    GPUTasksExecutor

    GetTaskCount()

    Gets the amount of enqueued tasks to perform.

    Declaration
    public int32 GetTaskCount() const
    Returns
    int32

    RequestWork(GPUTask* *buffer, int32 maxCount)

    Requests work to do. Should be used only by GPUTasksExecutor.

    Declaration
    public int32 RequestWork(GPUTask* *buffer, int32 maxCount)
    Parameters
    GPUTask buffer

    The output buffer.

    int32 maxCount

    The maximum allowed amount of tasks to get.

    Returns
    int32

    The amount of tasks added to the buffer.

    SetExecutor(GPUTasksExecutor* value)

    Sets the GPU tasks executor.

    Declaration
    public void SetExecutor(GPUTasksExecutor* value)
    Parameters
    GPUTasksExecutor value

    The tasks executor.

    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