Search Results for

    Show / Hide Table of Contents

    Class TaskGraphSystem

    System that can generate work into Task Graph for asynchronous execution.

    Inheritance
    System.Object
    Object
    TaskGraphSystem
    Inherited Members
    Object.__unmanagedPtr
    Object.__internalId
    Object.Finalize()
    Object.As<T>()
    Object.NewValue(Type)
    Object.New(String)
    Object.Find<T>(Guid, Boolean)
    Object.Find(Guid, Type, Boolean)
    Object.TryFind<T>(Guid)
    Object.TryFind(Guid, Type)
    Object.Destroy(Object, Single)
    Object.DestroyNow(Object)
    Object.Destroy<T>(T, Single)
    Object.Equals(Object)
    Object.GetUnmanagedPtr(Object)
    Object.GetUnmanagedInterface(Object, Type)
    Object.FromUnmanagedPtr(IntPtr)
    Object.MapObjectID(Guid)
    Object.RemapObjectID(Guid)
    Object.GetHashCode()
    Object.ID
    Object.TypeName
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public abstract class TaskGraphSystem : Object

    Constructors

    TaskGraphSystem()

    Initializes a new instance of the TaskGraphSystem.

    Declaration
    protected TaskGraphSystem()

    Properties

    Order

    The execution order of the system (systems with higher order are executed later, lower first).

    Declaration
    [Unmanaged]
    public int Order { get; set; }
    Property Value
    System.Int32

    Methods

    AddDependency(TaskGraphSystem)

    Adds the dependency on the system execution. Before this system can be executed the given dependant system has to be executed first.

    Declaration
    [Unmanaged]
    public void AddDependency(TaskGraphSystem system)
    Parameters
    TaskGraphSystem system

    The system to depend on.

    Execute(TaskGraph)

    Executes the system logic and schedules the asynchronous work.

    Declaration
    [Unmanaged]
    public virtual void Execute(TaskGraph graph)
    Parameters
    TaskGraph graph

    The graph executing the system.

    PostExecute(TaskGraph)

    Called after executing all systems of the graph. Can be used to cleanup data (synchronous).

    Declaration
    [Unmanaged]
    public virtual void PostExecute(TaskGraph graph)
    Parameters
    TaskGraph graph

    The graph executing the system.

    PreExecute(TaskGraph)

    Called before executing any systems of the graph. Can be used to initialize data (synchronous).

    Declaration
    [Unmanaged]
    public virtual void PreExecute(TaskGraph graph)
    Parameters
    TaskGraph graph

    The graph executing the system.

    RemoveDependency(TaskGraphSystem)

    Removes the dependency on the system execution.

    Declaration
    [Unmanaged]
    public void RemoveDependency(TaskGraphSystem system)
    Parameters
    TaskGraphSystem system

    The system to not depend on anymore.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat