Search Results for

    Show / Hide Table of Contents

    Class RenderList

    Rendering cache container object for the draw calls collecting, sorting and executing.

    Inheritance
    System.Object
    Object
    RenderList
    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 sealed class RenderList : Object

    Constructors

    RenderList()

    Initializes a new instance of the RenderList.

    Declaration
    public RenderList()

    Methods

    ExecuteDrawCalls(ref RenderContext, DrawCallsListType, GPUTextureView)

    Executes the collected draw calls.

    Declaration
    [Unmanaged]
    public void ExecuteDrawCalls(ref RenderContext renderContext, DrawCallsListType listType, GPUTextureView input = null)
    Parameters
    RenderContext renderContext

    The rendering context.

    DrawCallsListType listType

    The collected draw calls list type.

    GPUTextureView input

    The input scene color. It's optional and used in forward/postFx rendering.

    GetFromPool()

    Allocates the new renderer list object or reuses already allocated one.

    Declaration
    [Unmanaged]
    public static RenderList GetFromPool()
    Returns
    RenderList

    The cache object.

    ReturnToPool(RenderList)

    Frees the list back to the pool.

    Declaration
    [Unmanaged]
    public static void ReturnToPool(RenderList cache)
    Parameters
    RenderList cache

    The cache.

    SortDrawCalls(ref RenderContext, Boolean, DrawCallsListType, DrawPass)

    Sorts the collected draw calls list.

    Declaration
    [Unmanaged]
    public void SortDrawCalls(ref RenderContext renderContext, bool reverseDistance, DrawCallsListType listType, DrawPass pass)
    Parameters
    RenderContext renderContext

    The rendering context.

    System.Boolean reverseDistance

    If set to true reverse draw call distance to the view. Results in back to front sorting.

    DrawCallsListType listType

    The collected draw calls list type.

    DrawPass pass

    The draw pass (optional).

    Extension Methods

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