PIXI.utils.createIndicesForQuads

createIndicesForQuads(size: number, outBuffer: Uint16Array | Uint32Array) → {Uint16Array | Uint32Array}

Generic Mask Stack data structure

Parameters:
Name Type Attributes Default Description
size number

Number of quads

outBuffer Uint16Array | Uint32Array

<optional>

undefined

Buffer for output, length has to be 6 * size

Returns:
Type Description
Uint16Array | Uint32Array
  • Resulting index buffer
Powered by webdoc!