A texture and its sampler

interface ITexture {
    extras?: Record<string, unknown>;
    name?: string;
    sampler?: number;
    source?: number;
    extensions?: GLTFTexturesExtensions;
}

Hierarchy (View Summary)

Properties

extras?: Record<string, unknown>

Application-Specific data

name?: string

The user-defined name of this object

sampler?: number

The index of the sampler used by this texture. When undefined, a sampler with repeat wrapping and auto filtering should be used

source?: number

The index of the image used by this texture

Dictionary object with texture extension-specific objects