public interface DrawableTexture extends Texture
Texture
is able
to draw itself given a GL
handle.Modifier and Type | Method and Description |
---|---|
void |
draw(javax.media.opengl.GL2 gl,
int texUnit,
Collection<TextureUnit<Texture>> multiTextureList) |
dispose, getDimensionSize, getHandles, getNumDimension, isDirty, isResident, makeDirty, prepare
void draw(javax.media.opengl.GL2 gl, int texUnit, Collection<TextureUnit<Texture>> multiTextureList)
gl
- OpenGL context for drawingtexUnit
- Texture unit to use while drawingmultiTextureList
- Other textures to activate (and their texture units) for multitexturing purposesCopyright © 2016 Metron, Inc.. All rights reserved.