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

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

Properties

material: number

Material index in the materials array.

texturesDescriptors: ShaderTextureDescriptor[]

Array of ShaderTextureDescriptor defining the Texture, and eventual Sampler and UV attribute name used by the material.