Module TextureMatrix-PIXI

type opaqueTexture;
include { ... };
include { ... };
type t;
let t: clampMargin:float => clampOffset:float => isSimple:bool => mapCoord:PIXI.Matrix.t => texture:opaqueTexture => uClampFrame:Js.Typed_array.Float32Array.t => uClampOffset:Js.Typed_array.Float32Array.t => t;
let clampMarginSet: t => float => unit;
let clampMargin: t => float;
let clampMarginGet: t => float;
let clampOffsetSet: t => float => unit;
let clampOffset: t => float;
let clampOffsetGet: t => float;
let isSimple: t => bool;
let isSimpleGet: t => bool;
let mapCoord: t => PIXI.Matrix.t;
let mapCoordGet: t => PIXI.Matrix.t;
let textureSet: t => opaqueTexture => unit;
let texture: t => opaqueTexture;
let textureGet: t => opaqueTexture;
let uClampFrame: t => Js.Typed_array.Float32Array.t;
let uClampFrameGet: t => Js.Typed_array.Float32Array.t;
let uClampOffset: t => Js.Typed_array.Float32Array.t;
let uClampOffsetGet: t => Js.Typed_array.Float32Array.t;
module Impl: { ... };
include 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