A texture and its sampler

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

Hierarchy (view full)

Properties

extensions?: Record<string, unknown>

Dictionary object with extension-specific objects

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