Class: Buffer

PIXI.Buffer

new PIXI.Buffer (size)

Name Type Description
size number

The size of the buffer in bytes.

Members

float32View Float32Array

View on the vertices as a Float32Array for positions

uint32View Float32Array

View on the vertices as a Uint32Array for uvs

Methods

destroy ()

Destroys the buffer.