usage

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

Specifies if the texture will be used as a render target attachment.

If the texture is potentially rendered into, it may require a different memory layout, which needs to be known during construction.

Return

This Builder, for chaining calls.

Parameters

usage

Defaults to Usage.DEFAULT; see Usage.COLOR_ATTACHMENT.

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

Specifies if the texture will be used as a render target attachment.

If the texture is potentially rendered into, it may require a different memory layout, which needs to be known during construction.

Return

This Builder, for chaining calls.

Parameters

usage

Defaults to Usage.DEFAULT; see Usage.COLOR_ATTACHMENT.

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

Specifies if the texture will be used as a render target attachment.

If the texture is potentially rendered into, it may require a different memory layout, which needs to be known during construction.

Return

This Builder, for chaining calls.

Parameters

usage

Defaults to Usage.DEFAULT; see Usage.COLOR_ATTACHMENT.

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

Specifies if the texture will be used as a render target attachment.

If the texture is potentially rendered into, it may require a different memory layout, which needs to be known during construction.

Return

This Builder, for chaining calls.

Parameters

usage

Defaults to Usage.DEFAULT; see Usage.COLOR_ATTACHMENT.

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

Specifies if the texture will be used as a render target attachment.

If the texture is potentially rendered into, it may require a different memory layout, which needs to be known during construction.

Return

This Builder, for chaining calls.

Parameters

usage

Defaults to Usage.DEFAULT; see Usage.COLOR_ATTACHMENT.