levels

actual fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

This creates a mip-map pyramid. The maximum number of levels a texture can have is such that max(width, height, depth) / 2^MAX_LEVELS = 1.

Return

This Builder, for chaining calls.

Parameters

levels

Number of mipmap levels for this texture.

expect fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

This creates a mip-map pyramid. The maximum number of levels a texture can have is such that max(width, height, depth) / 2^MAX_LEVELS = 1.

Return

This Builder, for chaining calls.

Parameters

levels

Number of mipmap levels for this texture.

actual fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

This creates a mip-map pyramid. The maximum number of levels a texture can have is such that max(width, height, depth) / 2^MAX_LEVELS = 1.

Return

This Builder, for chaining calls.

Parameters

levels

Number of mipmap levels for this texture.

actual fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

This creates a mip-map pyramid. The maximum number of levels a texture can have is such that max(width, height, depth) / 2^MAX_LEVELS = 1.

Return

This Builder, for chaining calls.

Parameters

levels

Number of mipmap levels for this texture.

actual fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

This creates a mip-map pyramid. The maximum number of levels a texture can have is such that max(width, height, depth) / 2^MAX_LEVELS = 1.

Return

This Builder, for chaining calls.

Parameters

levels

Number of mipmap levels for this texture.