Mipmap.numLevels

class Mipmap(COLOR)
nothrow @nogc pure const nothrow @nogc
int
numLevels
()
if (
is(COLOR == RGBA) ||
is(COLOR == L16)
||
is(COLOR == RGBA16)
)

Return Value

Type: int

Number of levels. The maximum level is numLevels() - 1.

Meta