| Package | Description |
|---|---|
| com.io7m.jcanephora.async |
Asynchronous resource loading.
|
| com.io7m.jcanephora.core |
Core types and interfaces.
|
| com.io7m.jcanephora.core.api |
Type-safe OpenGL interfaces.
|
| com.io7m.jcanephora.texture_loader.core |
Core texture loading interfaces and types.
|
| 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 |
|---|---|
static JCGLTexture2DUpdateType |
JCGLTextureUpdates.newUpdateReplacingAll2D(JCGLTexture2DUsableType t)
Create a new update that will replace the entirety of
t. |
static JCGLTexture2DUpdateType |
JCGLTextureUpdates.newUpdateReplacingArea2D(JCGLTexture2DUsableType t,
com.io7m.jareas.core.AreaInclusiveUnsignedLType area)
Create a new update that will replace the given
area of t. |
| Modifier and Type | Method and Description |
|---|---|
void |
JCGLTextures2DType.texture2DUpdate(JCGLTextureUnitType unit,
JCGLTexture2DUpdateType data)
Replace the contents (or part of the contents) of the texture
data.getTexture() with data. |
| Modifier and Type | Method and Description |
|---|---|
JCGLTexture2DUpdateType |
JCGLTLTextureUpdateProviderType.getTextureUpdate(JCGLTexture2DUsableType t,
JCGLTLTextureDataType data)
Populate and return a texture update for
t using the contents of
data. |
JCGLTexture2DUpdateType |
JCGLTLTextureUpdateProvider.getTextureUpdate(JCGLTexture2DUsableType t,
JCGLTLTextureDataType data) |
Copyright © 2016 <code@io7m.com> http://io7m.com