ClearOptions

actual class ClearOptions

ClearOptions control how the SwapChain is cleared or discarded at the beginning of a frame.

The RenderTarget is cleared using the clearColor. The RenderTarget is cleared using this color, which won't be tone-mapped since tone-mapping is part of View rendering (this is not).

expect class ClearOptions

ClearOptions control how the SwapChain is cleared or discarded at the beginning of a frame.

The RenderTarget is cleared using the clearColor. The RenderTarget is cleared using this color, which won't be tone-mapped since tone-mapping is part of View rendering (this is not).

actual class ClearOptions

ClearOptions control how the SwapChain is cleared or discarded at the beginning of a frame.

The RenderTarget is cleared using the clearColor. The RenderTarget is cleared using this color, which won't be tone-mapped since tone-mapping is part of View rendering (this is not).

actual class ClearOptions

ClearOptions control how the SwapChain is cleared or discarded at the beginning of a frame.

The RenderTarget is cleared using the clearColor. The RenderTarget is cleared using this color, which won't be tone-mapped since tone-mapping is part of View rendering (this is not).

actual class ClearOptions

ClearOptions control how the SwapChain is cleared or discarded at the beginning of a frame.

The RenderTarget is cleared using the clearColor. The RenderTarget is cleared using this color, which won't be tone-mapped since tone-mapping is part of View rendering (this is not).

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
constructor()
actual constructor()
actual constructor()

Properties

Link copied to clipboard
actual var clear: Boolean

Whether the SwapChain should be cleared using clearColor. Default: false.

expect var clear: Boolean

Whether the SwapChain should be cleared using clearColor. Default: false.

actual var clear: Boolean

Whether the SwapChain should be cleared using clearColor. Default: false.

actual var clear: Boolean

Whether the SwapChain should be cleared using clearColor. Default: false.

actual var clear: Boolean

Whether the SwapChain should be cleared using clearColor. Default: false.

Link copied to clipboard

RGBA clear color. Values are stored as doubles. The backend converts them as-is based on format.

RGBA clear color. Values are stored as doubles. The backend converts them as-is based on format.

RGBA clear color. Values are stored as doubles. The backend converts them as-is based on format.

RGBA clear color. Values are stored as doubles. The backend converts them as-is based on format.

RGBA clear color. Values are stored as doubles. The backend converts them as-is based on format.

Link copied to clipboard
actual var discard: Boolean

Whether the SwapChain content should be discarded. Default: true. Set false to preserve existing content.

expect var discard: Boolean

Whether the SwapChain content should be discarded. Default: true. Set false to preserve existing content.

actual var discard: Boolean

Whether the SwapChain content should be discarded. Default: true. Set false to preserve existing content.

actual var discard: Boolean

Whether the SwapChain content should be discarded. Default: true. Set false to preserve existing content.

actual var discard: Boolean

Whether the SwapChain content should be discarded. Default: true. Set false to preserve existing content.

Link copied to clipboard
val nativeOptions: Renderer.ClearOptions