Back to Filament

width

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

1.75.0526 B
Original Source

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

width

[main]
open fun width(width: Int): Texture.Builder

Specifies the width of the texture in texels.

Return

This Builder, for chaining calls.

Parameters

main

widthtexture width in texels, must be at least 1. Default is 1.