depth

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

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

The depth controls the number of layers in a 2D array texture. Values greater than 1 effectively create a 3D texture.

Return

This Builder, for chaining calls.

Parameters

depth

Depth of the texture in texels (default: 1).

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

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

The depth controls the number of layers in a 2D array texture. Values greater than 1 effectively create a 3D texture.

Return

This Builder, for chaining calls.

Parameters

depth

Depth of the texture in texels (default: 1).

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

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

The depth controls the number of layers in a 2D array texture. Values greater than 1 effectively create a 3D texture.

Return

This Builder, for chaining calls.

Parameters

depth

Depth of the texture in texels (default: 1).

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

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

The depth controls the number of layers in a 2D array texture. Values greater than 1 effectively create a 3D texture.

Return

This Builder, for chaining calls.

Parameters

depth

Depth of the texture in texels (default: 1).

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

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

The depth controls the number of layers in a 2D array texture. Values greater than 1 effectively create a 3D texture.

Return

This Builder, for chaining calls.

Parameters

depth

Depth of the texture in texels (default: 1).