Search Results for

    Show / Hide Table of Contents

    Struct DrawBatch

    Represents a patch of draw calls that can be submitted to rendering.

    Assembly: FlaxEngine.dll
    File: Engine/Renderer/RenderList.h
    Syntax
    public struct DrawBatch

    Fields

    BatchSize

    A number of draw calls to be submitted at once.

    Declaration
    public uint16 BatchSize
    Field Value
    uint16

    InstanceCount

    The total amount of instances (sum from all draw calls in this batch).

    Declaration
    public uint32 InstanceCount
    Field Value
    uint32

    SortKey

    Draw calls sorting key (shared by the all draw calls withing a patch).

    Declaration
    public uint64 SortKey
    Field Value
    uint64

    StartIndex

    The first draw call index.

    Declaration
    public uint16 StartIndex
    Field Value
    uint16

    Methods

    operator<(const DrawBatch& other)

    Declaration
    public bool operator<(const DrawBatch& other) const
    Parameters
    DrawBatch other

    Returns
    bool

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