Readonly
[toReadonly
byteRead-only. The length of the ArrayBuffer (in bytes).
Readonly
BYTES_Readonly
lengthReturns a boolean indicating whether or not this buffer has been detached (transferred).
If this ArrayBuffer is resizable, returns the maximum byte length given during construction; returns the byte length if not.
Returns true if this ArrayBuffer can be resized.
Resizes the ArrayBuffer to the specified size (in bytes).
Optional
newByteLength: numberReturns a section of an ArrayBuffer.
Optional
begin: numberOptional
end: numberCreates a new ArrayBuffer with the same byte content as this buffer, then detaches this buffer.
Optional
newByteLength: numberCreates a new non-resizable ArrayBuffer with the same byte content as this buffer, then detaches this buffer.
Optional
newByteLength: number
PixiJS classes use this type instead of ArrayBuffer and typed arrays to support expressions like
geometry.buffers[0].data[0] = position.x
.Gives access to indexing and
length
field.Memberof
PIXI