Define a MaterialTexture describing all Texture and Sampler used by a specified material.

interface MaterialTexture {
    material: number;
    texturesDescriptors: MaterialTextureDescriptor[];
}

Properties

material: number

Material index in the materials array.

texturesDescriptors: MaterialTextureDescriptor[]

MaterialTextureDescriptor defining the Texture and Sampler used by the material.