@FunctionalInterface public interface JCGLAsyncInterfaceUsableGL33Type
An "asynchronous" wrapper around an JCGLInterfaceGL33Type
interface.
| Modifier and Type | Method and Description |
|---|---|
default <B> CompletableFuture<B> |
evaluate(BiFunction<JCGLInterfaceGL33Type,com.io7m.jfunctional.Unit,B> f)
Evaluate a function on the context's dedicated OpenGL thread.
|
<A,B> CompletableFuture<B> |
evaluateWith(A context,
BiFunction<JCGLInterfaceGL33Type,A,B> f)
Evaluate a function on the context's dedicated OpenGL thread.
|
<A,B> CompletableFuture<B> evaluateWith(A context, BiFunction<JCGLInterfaceGL33Type,A,B> f)
A - The type of user-defined context valuesB - The type of returned valuescontext - A user-defined context value, passed to ff - The function that will be evaluatedfdefault <B> CompletableFuture<B> evaluate(BiFunction<JCGLInterfaceGL33Type,com.io7m.jfunctional.Unit,B> f)
B - The type of returned valuesf - The function that will be evaluatedfCopyright © 2016 <code@io7m.com> http://io7m.com