Search Results for

    Show / Hide Table of Contents

    Struct RenderBatchIndex

    Stores the location of a rendered object (like a matrix) in a batch structure. A batch is usually a list of arrays such that each array can be rendered in a single batch.

    Namespace: AS2.Visuals
    Assembly: .dll
    Syntax
    public struct RenderBatchIndex

    Constructors

    | Edit this page View Source

    RenderBatchIndex(int, int)

    Declaration
    public RenderBatchIndex(int listNumber, int listIndex)
    Parameters
    Type Name Description
    int listNumber
    int listIndex

    Fields

    | Edit this page View Source

    isValid

    Whether the index is still valid.

    Declaration
    public bool isValid
    Field Value
    Type Description
    bool
    | Edit this page View Source

    listIndex

    The array index (minor index).

    Declaration
    public int listIndex
    Field Value
    Type Description
    int
    | Edit this page View Source

    listNumber

    The list index (major index).

    Declaration
    public int listNumber
    Field Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Discard()

    Invalidates the index.

    Declaration
    public void Discard()
    | Edit this page View Source

    IsValid()

    Checks whether the index is still valid.

    Declaration
    public bool IsValid()
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top AmoebotSim 2.0 Documentation v1.11
    Copyright © 2025 AmoebotSim 2.0 Authors
    Generated by DocFX