mikaxyz/elm-gltf/5.0.0

Gltf.Texture.Extensions

Texture extensions as defined in the glTF specification.

Currently only supports KHR_texture_transform. The raw JSON value is there for everything else.

type alias Extensions =
{ transform : Maybe Transform
, raw : Value
}

Texture extensions

type alias Transform =
{ offset : Vec2
, rotation : Float
, scale : Vec2
, texCoord : Int
}