IndexBuffer
A buffer containing vertex indices into a VertexBuffer.
IndexBuffer holds a sequence of indices that reference vertices in an associated VertexBuffer. Indices can be 16-bit (USHORT) or 32-bit (UINT). Typically used in conjunction with RenderableManager to define the geometry of primitives.
See also
, RenderableManager
Types
Properties
Gets the number of indices in this buffer.
Returns whether the asynchronous creation of this IndexBuffer has completed; always true when it wasn't built with Builder.async().
The native object, for interop with code calling the Fila* C API directly. Read-only: this wrapper owns it.
Functions
setBuffer, asynchronously: returns an ID for Engine.cancelAsyncCall, and callback runs once on the main thread with how it ended. Needs Engine.isAsynchronousModeEnabled.