Define a MaterialTextureDescriptor used to group a Texture and its associated Sampler.

interface MaterialTextureDescriptor {
    texture: Texture;
    sampler: Sampler;
    texCoordAttributeName?: string;
}

Properties

texture: Texture

Texture to use.

sampler: Sampler

Sampler to use.

texCoordAttributeName?: string

Texture coordinate attribute name to use to map this texture.