@pmndrs/reflections
    Preparing search index...

    Function textureMeanColor

    • Mean linear colour of a texture's image (cached per texture), or null if it can't be read on the CPU (compressed, render target, not loaded yet). Images are averaged over a 16x16 downscale.

      Parameters

      • t: Texture

      Returns [number, number, number] | null