Back to Filament

getWidth

docs/android/dokka/filament-android/com.google.android.filament/-texture/get-width.md

1.75.0597 B
Original Source

//filament-android/com.google.android.filament/Texture/getWidth

getWidth

[main]
open fun getWidth(level: Int): Int

Queries the width of a given level of this texture.

Return

The width in texel of the given level

Parameters

main

levelto query the with of. Must be between 0 and getLevels