samples

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

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().

If this is invoked for array textures, it means this texture is used for multiview.

Return

This Builder, for chaining calls.

Parameters

samples

Number of samples for this texture.

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

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().

If this is invoked for array textures, it means this texture is used for multiview.

Return

This Builder, for chaining calls.

Parameters

samples

Number of samples for this texture.

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

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().

If this is invoked for array textures, it means this texture is used for multiview.

Return

This Builder, for chaining calls.

Parameters

samples

Number of samples for this texture.

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

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().

If this is invoked for array textures, it means this texture is used for multiview.

Return

This Builder, for chaining calls.

Parameters

samples

Number of samples for this texture.

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

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().

If this is invoked for array textures, it means this texture is used for multiview.

Return

This Builder, for chaining calls.

Parameters

samples

Number of samples for this texture.