Back to Filament

external

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

1.75.0551 B
Original Source

//filament-android/com.google.android.filament/Texture/Builder/external

external

[main]
open fun external(): Texture.Builder

Creates an external texture. The content must be set using setExternalImage(). The sampler can be SAMPLER_EXTERNAL or SAMPLER_2D depending on the format. Generally YUV formats must use SAMPLER_EXTERNAL. This depends on the backend features and is not validated.

Return

This Builder, for chaining calls.