Back to Filament

Format

docs/android/dokka/filament-android/com.google.android.filament/-texture/-format/index.md

1.75.02.1 KB
Original Source

//filament-android/com.google.android.filament/Texture/Format

Format

[main]
enum Format

Pixel color format

Entries

R[main]
R
R_INTEGER[main]
R_INTEGER
RG[main]
RG
RG_INTEGER[main]
RG_INTEGER
RGB[main]
RGB
RGB_INTEGER[main]
RGB_INTEGER
RGBA[main]
RGBA
RGBA_INTEGER[main]
RGBA_INTEGER
UNUSED[main]
UNUSED
DEPTH_COMPONENT[main]
DEPTH_COMPONENT
DEPTH_STENCIL[main]
DEPTH_STENCIL
STENCIL_INDEX[main]
STENCIL_INDEX
ALPHA[main]
ALPHA

Functions

NameSummary
valueOf[main]
open fun valueOf(name: String): Texture.Format
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[main]
open fun values(): Array<Texture.Format>
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.