Back to Filament

getMipLevel

docs/android/dokka/filament-android/com.google.android.filament/-render-target/get-mip-level.md

1.75.0566 B
Original Source

//filament-android/com.google.android.filament/RenderTarget/getMipLevel

getMipLevel

[main]
open fun getMipLevel(attachment: RenderTarget.AttachmentPoint): Int

Returns the mipmap level set on the given attachment point.

Return

the mipmap level set on the given attachment point

Parameters

main

attachmentAttachment point