Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Constants
public static final int AllowSpontaneous = 3
Callbacks may fire spontaneously on any thread when the operation completes.
public static final int WaitAnyOnly = 1
Callbacks fire only within a call to @see GPUInstance.waitAny.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-04-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-22 UTC."],[],[]]