s="parameter"><code>max</code></em> is built by decimating
            <em class="parameter"><code>data</code></em> in half along
            both dimensions until size
            <math overflow="scroll">

                <mrow>
                    <mn>1</mn>
                    <mo>×</mo>
                    <mn>1</mn>
                </mrow>
            </math>
            is reached. At each level, each texel in the
            halved mipmap level is an average of the corresponding four texels in the l