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 SourceRenderBatchIndex(int, int)
Declaration
public RenderBatchIndex(int listNumber, int listIndex)
Parameters
Type | Name | Description |
---|---|---|
int | listNumber | |
int | listIndex |
Fields
| Edit this page View SourceisValid
Whether the index is still valid.
Declaration
public bool isValid
Field Value
Type | Description |
---|---|
bool |
listIndex
The array index (minor index).
Declaration
public int listIndex
Field Value
Type | Description |
---|---|
int |
listNumber
The list index (major index).
Declaration
public int listNumber
Field Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceDiscard()
Invalidates the index.
Declaration
public void Discard()
IsValid()
Checks whether the index is still valid.
Declaration
public bool IsValid()
Returns
Type | Description |
---|---|
bool |