Back to Filament

getTexture

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

1.75.0518 B
Original Source

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

getTexture

[main]
open fun getTexture(attachment: RenderTarget.AttachmentPoint): Texture

Gets the texture set on the given attachment point.

Return

A Texture object or nullptr if no texture is set for this attachment point

Parameters

main

attachmentAttachment point