OxMIndexArray Class

This class holds an array of unsigned shorts (UInt16) suitable for use as triangle indexes. The advantage of this class over a standard REALbasic Array is fast and automatic conversion to Ptr for use in declare statements. The advantage over a standard Memoryblock is a concise API that only deals with one data type.

Note: This class may resemble a Memoryblock in some respects but keep in mind that it lacks a LittleEndian flag, and the data accessors do not perform any sort of byte swapping. The internal data storage always uses the current platform's native endianness, however, a Copy method that accepts a Memoryblock is provided that will byte-swap the Memoryblock's data when necessary.

Constructors

Expand All | Collapse All

Constants

Expand All | Collapse All

Properties

Expand All | Collapse All

Methods

Expand All | Collapse All