Module TextureMatrix-PIXI.Impl

let create: texture:opaqueTexture => ?⁠clampMargin:float => unit => t;
let multiplyUvs: t => uvs:Js.Typed_array.Float32Array.t => ?⁠out:Js.Typed_array.Float32Array.t => unit => Js.Typed_array.Float32Array.t;

Multiplies uvs array to transform

parameter uvs

Float32Array mesh uvs

parameter out

Float32Array output

returns

output

let update: t => ?⁠forceUpdate:bool => unit => bool;

updates matrices if texture was changed

parameter forceUpdate

if true, matrices will be updated any case

returns

whether or not it was updated