| 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.jogl |
JOGL implementation of the
jcanephora API. |
| com.io7m.jcanephora.lwjgl3 |
LWJGL3 implementation of the
jcanephora API. |
| 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 |
|---|---|
JCGLTextureWrapS |
JCGLTextureCubeUsableType.textureGetWrapS() |
JCGLTextureWrapS |
JCGLTexture2DUsableType.textureGetWrapS() |
static JCGLTextureWrapS |
JCGLTextureWrapS.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLTextureWrapS[] |
JCGLTextureWrapS.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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. |
JCGLTextureCubeType |
JCGLTexturesCubeType.textureCubeAllocate(JCGLTextureUnitType unit,
long size,
JCGLTextureFormat format,
JCGLTextureWrapR wrap_r,
JCGLTextureWrapS wrap_s,
JCGLTextureWrapT wrap_t,
JCGLTextureFilterMinification min_filter,
JCGLTextureFilterMagnification mag_filter)
Allocate a cube texture of width
size and height size of
format format, binding it to unit. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLTextureWrapS |
JOGLTypeConversions.textureWrapSFromGL(int wrap)
Convert wrapping modes from GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
JOGLTypeConversions.textureWrapSToGL(JCGLTextureWrapS wrap)
Convert wrapping mode to GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
static JCGLTextureWrapS |
LWJGL3TypeConversions.textureWrapSFromGL(int wrap)
Convert wrapping modes from GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
LWJGL3TypeConversions.textureWrapSToGL(JCGLTextureWrapS wrap)
Convert wrapping mode to GL constants.
|
Copyright © 2016 <code@io7m.com> http://io7m.com