CallbackMode


public final class CallbackMode


Controls how and when asynchronous operation callbacks are invoked.

Summary

Constants

static final int

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

static final int

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

static final int

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

Public methods

static final @NonNull String
toString(int value)

Constants

AllowProcessEvents

public static final int AllowProcessEvents = 2

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

AllowSpontaneous

public static final int AllowSpontaneous = 3

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

WaitAnyOnly

public static final int WaitAnyOnly = 1

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

Public methods

toString

Added in 1.0.0-alpha05
public static final @NonNull String toString(int value)