UNPKG

658 BTypeScriptView Raw
1import { Geometry } from '../geometry/Geometry';
2import { Buffer } from '../geometry/Buffer';
3/**
4 * Geometry used to batch standard PIXI content (e.g. Mesh, Sprite, Graphics objects).
5 * @memberof PIXI
6 */
7export declare class BatchGeometry extends Geometry {
8 /**
9 * Buffer used for position, color, texture IDs
10 * @protected
11 */
12 _buffer: Buffer;
13 /**
14 * Index buffer data
15 * @protected
16 */
17 _indexBuffer: Buffer;
18 /**
19 * @param {boolean} [_static=false] - Optimization flag, where `false`
20 * is updated every frame, `true` doesn't change frame-to-frame.
21 */
22 constructor(_static?: boolean);
23}