getWidth

actual fun getWidth(level: Int): Int

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

Return

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

Parameters

level

texture level.

expect fun getWidth(level: Int = 0): Int

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

Return

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

Parameters

level

texture level.

actual fun getWidth(level: Int): Int

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

Return

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

Parameters

level

texture level.

actual fun getWidth(level: Int): Int

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

Return

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

Parameters

level

texture level.

actual fun getWidth(level: Int): Int

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

Return

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

Parameters

level

texture level.