Renderer · function

mipLevelCount

How many levels an image of this size has, counting the one it arrives with.

Explained in Hello world.

function mipLevelCount(width: number, height: number): number
import { mipLevelCount } from '@driftengine/core';

Parameters

ParameterTypeDescription
widthnumber
heightnumber