Back to Filament

texture

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

1.75.0609 B
Original Source

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

texture

[main]
open fun texture(attachment: RenderTarget.AttachmentPoint, texture: Texture): RenderTarget.Builder

Sets a texture to a given attachment point.

Return

A reference to this Builder for chaining calls.

Parameters

main

attachmentThe attachment point of the texture.
textureThe associated texture object.