Sampler:getMipmapRange

Returns the mipmap range of the Sampler. This is used to clamp the range of mipmap levels that can be accessed from a texture.

min, max = Sampler:getMipmapRange()

Arguments

None

Returns

NameTypeDescription
minnumber The minimum mipmap level that will be sampled (0 is the largest image).
maxnumber The maximum mipmap level that will be sampled.

See also