getMaxTextureSize

actual fun getMaxTextureSize(engine: Engine, type: Texture.Sampler): Int

Returns the maximum size in texels of a texture of the given type. Guarantees at least 2048 for 2D textures, 256 for 3D textures.

Return

Maximum size in texels

Parameters

engine

Engine to query

type

Sampler type

expect fun getMaxTextureSize(engine: Engine, type: Texture.Sampler): Int

Returns the maximum size in texels of a texture of the given type. Guarantees at least 2048 for 2D textures, 256 for 3D textures.

Return

Maximum size in texels

Parameters

engine

Engine to query

type

Sampler type

actual fun getMaxTextureSize(engine: Engine, type: Texture.Sampler): Int

Returns the maximum size in texels of a texture of the given type. Guarantees at least 2048 for 2D textures, 256 for 3D textures.

Return

Maximum size in texels

Parameters

engine

Engine to query

type

Sampler type

actual fun getMaxTextureSize(engine: Engine, type: Texture.Sampler): Int

Returns the maximum size in texels of a texture of the given type. Guarantees at least 2048 for 2D textures, 256 for 3D textures.

Return

Maximum size in texels

Parameters

engine

Engine to query

type

Sampler type

actual fun getMaxTextureSize(engine: Engine, type: Texture.Sampler): Int

Returns the maximum size in texels of a texture of the given type. Guarantees at least 2048 for 2D textures, 256 for 3D textures.

Return

Maximum size in texels

Parameters

engine

Engine to query

type

Sampler type