@pixi/3d
    Preparing search index...

    Interface MaterialTextures

    A material's textures: one property per texture slot its shader declares; see BaseMaterial3D#textures

    A slot you never set holds the material's default, usually Texture.WHITE. Each material narrows this type with its own slots, as Material3DTextures does. The index type includes undefined only so those can list optional slots: assigning undefined type-checks, but it throws and leaves the slot empty.

    const water = new BaseMaterial3D({
    descriptor: { bitsGpu: [myRippleBit], bitsGl: [myRippleBit] },
    textures: { ripples: rippleTexture },
    });
    water.textures.ripples = calmRippleTexture;

    Hierarchy (View Summary)

    Indexable