- Preparing search index...
- The search index is not available
gypsum-mesh
Function makeIndexBufferForType
- makeIndexBufferForType(size: number, meshIndexType: UnsignedByte): Uint8Array
-
Parameters
-
size: number
-
meshIndexType: UnsignedByte
Returns Uint8Array
- makeIndexBufferForType(size: number, meshIndexType: UnsignedShort): Uint16Array
-
Parameters
-
size: number
-
meshIndexType: UnsignedShort
Returns Uint16Array
- makeIndexBufferForType(size: number, meshIndexType: UnsignedInt): Uint32Array
-
Parameters
-
size: number
-
meshIndexType: UnsignedInt
Returns Uint32Array
- makeIndexBufferForType(size: number, meshIndexType: MeshIndexType): Uint8Array | Uint16Array | Uint32Array
-
Parameters
-
size: number
-
meshIndexType: MeshIndexType
Returns Uint8Array | Uint16Array | Uint32Array
Make an indexData buffer for the creation of a WL.Mesh instance given a specific mesh index type.
Returns
A tuple containing the indexData buffer, and the indexType argument to be passed to the WL.Mesh constructor.