| Package | Description |
|---|---|
| com.io7m.jcanephora.async |
Asynchronous resource loading.
|
| com.io7m.jcanephora.core.api |
Type-safe OpenGL interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<JCGLTexture2DType> |
JCGLAsyncResourceLoaderType.loadTexture(Supplier<JCGLTLTextureDataType> on_data,
JCGLTextureFormat format,
JCGLTextureWrapS wrap_s,
JCGLTextureWrapT wrap_t,
JCGLTextureFilterMinification min_filter,
JCGLTextureFilterMagnification mag_filter,
BiFunction<JCGLTexture2DType,JCGLTLTextureDataType,JCGLTexture2DUpdateType> on_populate)
Asynchronously load a texture.
|
CompletableFuture<JCGLTexture2DType> |
JCGLAsyncResourceLoader.loadTexture(Supplier<JCGLTLTextureDataType> on_data,
JCGLTextureFormat format,
JCGLTextureWrapS wrap_s,
JCGLTextureWrapT wrap_t,
JCGLTextureFilterMinification min_filter,
JCGLTextureFilterMagnification mag_filter,
BiFunction<JCGLTexture2DType,JCGLTLTextureDataType,JCGLTexture2DUpdateType> on_populate) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<JCGLTexture2DType> |
JCGLAsyncResourceLoaderType.loadTexture(Supplier<JCGLTLTextureDataType> on_data,
JCGLTextureFormat format,
JCGLTextureWrapS wrap_s,
JCGLTextureWrapT wrap_t,
JCGLTextureFilterMinification min_filter,
JCGLTextureFilterMagnification mag_filter,
BiFunction<JCGLTexture2DType,JCGLTLTextureDataType,JCGLTexture2DUpdateType> on_populate)
Asynchronously load a texture.
|
CompletableFuture<JCGLTexture2DType> |
JCGLAsyncResourceLoader.loadTexture(Supplier<JCGLTLTextureDataType> on_data,
JCGLTextureFormat format,
JCGLTextureWrapS wrap_s,
JCGLTextureWrapT wrap_t,
JCGLTextureFilterMinification min_filter,
JCGLTextureFilterMagnification mag_filter,
BiFunction<JCGLTexture2DType,JCGLTLTextureDataType,JCGLTexture2DUpdateType> on_populate) |
| Modifier and Type | Method and Description |
|---|---|
JCGLTexture2DType |
JCGLTextures2DType.texture2DAllocate(JCGLTextureUnitType unit,
long width,
long height,
JCGLTextureFormat format,
JCGLTextureWrapS wrap_s,
JCGLTextureWrapT wrap_t,
JCGLTextureFilterMinification min_filter,
JCGLTextureFilterMagnification mag_filter)
Allocate a texture of width
width and height height of
format format, binding it to unit. |
| Modifier and Type | Method and Description |
|---|---|
void |
JCGLTextures2DType.texture2DDelete(JCGLTexture2DType texture)
Deletes the texture referenced by
texture. |
Copyright © 2016 <code@io7m.com> http://io7m.com