Back to Filament

mipLevel

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

1.75.0686 B
Original Source

//filament-android/com.google.android.filament/RenderTarget/Builder/mipLevel

mipLevel

[main]
open fun mipLevel(attachment: RenderTarget.AttachmentPoint, level: Int): RenderTarget.Builder

Sets the mipmap level for a given attachment point.

Return

A reference to this Builder for chaining calls.

Parameters

main

attachmentThe attachment point of the texture.
levelThe associated mipmap level, 0 by default.