mikaxyz/elm-gltf/5.0.0

Gltf.Texture

A texture as defined in the glTF specification.

type Texture
= Texture
{ index : Index
, texCoord : Int
, extensions : Maybe Extensions
}

Any data associated with a texture

Texture extensions are available in Extensions.

type alias Index =
TextureIndex

Use this to get a textureWithIndex

toIndex : Texture -> Index

Index from Texture