Module Buffer-PIXI.Impl

let create: data:Js.Typed_array.ArrayBuffer.t => ?⁠_static:bool => ?⁠index:bool => unit => t;

Note that SharedArrayBuffer was disabled by default in all major browsers on 5 January, 2018 in response to Spectre. Chrome re-enabled it in v67 on platforms where its site-isolation feature is enabled to protect against Spectre-style vulnerabilities.

let getData: Js.t(_t) => Js.Typed_array.ArrayBuffer.t;

The data in the buffer, as a typed array

let setData: Js.t(_t) => Js.Typed_array.ArrayBuffer.t => unit;

The data in the buffer, as a typed array

let destroy: Js.t(_t) => unit;
let dispose: Js.t(_t) => unit;
let update: Js.t(_t) => Js.Typed_array.ArrayBuffer.t => unit;