public interface JCGLTexturesType extends JCGLTextures2DType, JCGLTexturesCubeType
Modifier and Type | Method and Description |
---|---|
int |
textureGetMaximumSize() |
List<JCGLTextureUnitType> |
textureGetUnits() |
boolean |
textureUnitIsBound(JCGLTextureUnitType unit) |
void |
textureUnitUnbind(JCGLTextureUnitType unit)
Unbind whatever texture is bound to the texture unit
unit (if
any). |
texture2DAllocate, texture2DBind, texture2DDelete, texture2DGetImage, texture2DIsBound, texture2DIsBoundAnywhere, texture2DRegenerateMipmaps, texture2DUpdate
textureCubeAllocate, textureCubeBind, textureCubeDelete, textureCubeGetImageLH, textureCubeGetImageRH, textureCubeIsBound, textureCubeIsBoundAnywhere, textureCubeRegenerateMipmaps, textureCubeUpdateLH, textureCubeUpdateRH
int textureGetMaximumSize() throws JCGLException
8192
, the largest texture that can be created is 8192 *
8192
.JCGLException
- Iff an OpenGL error occurs.List<JCGLTextureUnitType> textureGetUnits() throws JCGLException
JCGLException
- Iff an OpenGL error occurs.boolean textureUnitIsBound(JCGLTextureUnitType unit) throws JCGLException
unit
- The texture unit.true
iff the the texture unit unit
has any texture
bound to it.JCGLException
- Iff an OpenGL error occurs.void textureUnitUnbind(JCGLTextureUnitType unit) throws JCGLException
unit
(if
any).unit
- The texture unitJCGLException
- Iff an OpenGL error occurs.Copyright © 2017 <code@io7m.com> http://io7m.com