CallbackMode


class CallbackMode


Controls how and when asynchronous operation callbacks are invoked.

Summary

Constants

const Int

Callbacks may fire within @see GPUInstance.waitAny or @see GPUInstance.processEvents.

const Int

Callbacks may fire spontaneously on any thread when the operation completes.

const Int

Callbacks fire only within a call to @see GPUInstance.waitAny.

Public companion functions

String
toString(value: Int)

Constants

AllowProcessEvents

const val AllowProcessEvents = 2: Int

Callbacks may fire within @see GPUInstance.waitAny or @see GPUInstance.processEvents.

AllowSpontaneous

const val AllowSpontaneous = 3: Int

Callbacks may fire spontaneously on any thread when the operation completes.

WaitAnyOnly

const val WaitAnyOnly = 1: Int

Callbacks fire only within a call to @see GPUInstance.waitAny.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String