Back to Filament

getDepth

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

1.75.0624 B
Original Source

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

getDepth

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

Queries the number of layers of given level of this texture has.

Return

The number of layers of the given level

Parameters

main

levelto query the number of layers of. Must be between 0 and getLevels