pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
10 lines (9 loc) • 429 B
TypeScript
/**
* Generic Mask Stack data structure
* @function createIndicesForQuads
* @param {number} size - Number of quads
* @param {Uint16Array|Uint32Array} [outBuffer] - Buffer for output, length has to be `6 * size`
* @returns {Uint16Array|Uint32Array} - Resulting index buffer
* @internal
*/
export declare function createIndicesForQuads(size: number, outBuffer?: Uint16Array | Uint32Array | null): Uint16Array | Uint32Array;