getHeight

fun getHeight(level: Int = 0): Int

Returns the height of a 2D or 3D texture level.

Return

Height in texels of the specified level, clamped to 1.

Parameters

level

texture level.