Define a MeshDescriptorTexture used to associate the Texture names with the corresponding Sampler names.

interface MeshDescriptorTexture {
    texture: string;
    sampler: string;
    texCoordAttributeName?: string;
}

Properties

texture: string

Name of the Texture to use.

sampler: string

Name of the Sampler to use.

texCoordAttributeName?: string

Texture coordinate attribute name to use to map this texture.