Back to Filament

getMaxTextureSize

docs/android/dokka/filament-android/com.google.android.filament/-texture/get-max-texture-size.md

1.75.0641 B
Original Source

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

getMaxTextureSize

[main]
open fun getMaxTextureSize(engine: Engine, type: Texture.Sampler): Int

Return

The maximum size in texels of a texture of type \p type. At least 2048 for 2D textures, 256 for 3D textures

Parameters

main

engineEngine
typeTexture sampler type