| Package | Description |
|---|---|
| com.io7m.jcanephora.core |
Core types and interfaces.
|
| com.io7m.jcanephora.core.api |
Type-safe OpenGL interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
JCGLTextureFormat |
JCGLTextureUsableType.textureGetFormat() |
static JCGLTextureFormat |
JCGLTextureFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLTextureFormat[] |
JCGLTextureFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JCGLTextureFormats.checkColorRenderableTexture2D(JCGLTextureFormat t)
Check that the texture format is a color-renderable format.
|
static void |
JCGLTextureFormats.checkDepthOnlyRenderableTexture2D(JCGLTextureFormat t)
Check that the texture is of a depth (not stencil) renderable format.
|
static void |
JCGLTextureFormats.checkDepthRenderableTexture2D(JCGLTextureFormat t)
Check that the texture format is a depth-renderable format.
|
static void |
JCGLTextureFormats.checkDepthStencilRenderableTexture2D(JCGLTextureFormat t)
Check that the texture is of a depth+stencil-renderable format.
|
static int |
JCGLTextureFormats.getDepthBits(JCGLTextureFormat f) |
static int |
JCGLTextureFormats.getStencilBits(JCGLTextureFormat f) |
static boolean |
JCGLTextureFormats.isColorRenderable2D(JCGLTextureFormat f) |
static boolean |
JCGLTextureFormats.isDepthRenderable(JCGLTextureFormat f) |
static boolean |
JCGLTextureFormats.isFloatingPoint(JCGLTextureFormat f) |
static boolean |
JCGLTextureFormats.isStencilRenderable(JCGLTextureFormat f) |
| 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. |
Copyright © 2016 <code@io7m.com> http://io7m.com