## Uses of Interface
com.io7m.jcanephora.core.JCGLTextureUnitType

- Packages that use JCGLTextureUnitType
  Package | Description
  --- | ---
  com.io7m.jcanephora.core.api | Type-safe OpenGL interfaces.

- - ### Uses of JCGLTextureUnitType in com.io7m.jcanephora.core.api

    Methods in com.io7m.jcanephora.core.api that return types with arguments of type JCGLTextureUnitType
    Modifier and Type | Method and Description
    --- | ---
    `List<JCGLTextureUnitType>` | JCGLTexturesType.`textureGetUnits()`

    Methods in com.io7m.jcanephora.core.api with parameters of type JCGLTextureUnitType
    Modifier and Type | Method and Description
    --- | ---
    `void` | JCGLShaderUniformsType.`shaderUniformPutTexture2DUnit(JCGLProgramUniformType u, JCGLTextureUnitType value)` Upload the value `value` to the uniform `u`.
    `void` | JCGLShaderUniformsType.`shaderUniformPutTextureCubeUnit(JCGLProgramUniformType u, JCGLTextureUnitType value)` Upload the value `value` to the uniform `u`.
    `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`.
    `void` | JCGLTextures2DType.`texture2DBind(JCGLTextureUnitType unit, JCGLTexture2DUsableType texture)` Bind the texture `texture` to the texture unit `unit`.
    `ByteBuffer` | JCGLTextures2DType.`texture2DGetImage(JCGLTextureUnitType unit, JCGLTexture2DUsableType texture)` Fetch image data for the given texture.
    `boolean` | JCGLTextures2DType.`texture2DIsBound(JCGLTextureUnitType unit, JCGLTexture2DUsableType texture)`
    `void` | JCGLTextures2DType.`texture2DUpdate(JCGLTextureUnitType unit, JCGLTexture2DUpdateType data)` Replace the contents (or part of the contents) of the texture `data.getTexture()` with `data`.
    `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`.
    `void` | JCGLTexturesCubeType.`textureCubeBind(JCGLTextureUnitType unit, JCGLTextureCubeUsableType texture)` Bind the texture `texture` to the texture unit `unit`.
    `ByteBuffer` | JCGLTexturesCubeType.`textureCubeGetImageLH(JCGLTextureUnitType unit, JCGLCubeMapFaceLH face, JCGLTextureCubeUsableType texture)` Fetch image data for the given face of the given texture.
    `default ByteBuffer` | JCGLTexturesCubeType.`textureCubeGetImageRH(JCGLTextureUnitType unit, JCGLCubeMapFaceRH face, JCGLTextureCubeUsableType texture)` Fetch image data for the given face of the given texture.
    `boolean` | JCGLTexturesCubeType.`textureCubeIsBound(JCGLTextureUnitType unit, JCGLTextureCubeUsableType texture)`
    `void` | JCGLTexturesCubeType.`textureCubeUpdateLH(JCGLTextureUnitType unit, JCGLCubeMapFaceLH face, JCGLTextureCubeUpdateType data)` Replace the contents (or part of the contents) of the face `face` of the cube map texture `data.getTexture()` with `data`, assuming a cube map that uses a left-handed coordinate system (the OpenGL default).
    `default void` | JCGLTexturesCubeType.`textureCubeUpdateRH(JCGLTextureUnitType unit, JCGLCubeMapFaceRH face, JCGLTextureCubeUpdateType data)` Replace the contents (or part of the contents) of the face `face` of the cube map texture `data.getTexture()` with `data`, assuming a cube map that uses a right-handed coordinate system.
    `boolean` | JCGLTexturesType.`textureUnitIsBound(JCGLTextureUnitType unit)`
    `void` | JCGLTexturesType.`textureUnitUnbind(JCGLTextureUnitType unit)` Unbind whatever texture is bound to the texture unit `unit` (if any).

Copyright © 2016 <code@io7m.com> http://io7m.com