jjdh API

jjdh.opengl.engine.buffers
Class TextureBuffer

java.lang.Object
  extended by jjdh.opengl.engine.buffers.AbstractBuffer
      extended by jjdh.opengl.engine.buffers.SingleFloatBuffer
          extended by jjdh.opengl.engine.buffers.FloatBlockBuffer
              extended by jjdh.opengl.engine.buffers.TextureBuffer
All Implemented Interfaces:
GLSwitchable, GLBuffer

public class TextureBuffer
extends FloatBlockBuffer


Field Summary
 
Fields inherited from class jjdh.opengl.engine.buffers.SingleFloatBuffer
buffer
 
Fields inherited from class jjdh.opengl.engine.buffers.AbstractBuffer
byteBuffer, isVBO, vboIndex
 
Constructor Summary
TextureBuffer(int capacity)
           
 
Method Summary
 void disable(javax.media.opengl.GL gl)
           
 void enable(javax.media.opengl.GL gl)
           
 int getBlockSize()
           
 
Methods inherited from class jjdh.opengl.engine.buffers.FloatBlockBuffer
capacity, put, put, recreateFloatBlockBuffer, remaining, toString
 
Methods inherited from class jjdh.opengl.engine.buffers.SingleFloatBuffer
recreateFloatBuffer, rewind
 
Methods inherited from class jjdh.opengl.engine.buffers.AbstractBuffer
bind, bind, dispose, isBindable, isVBO, recreateByteBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextureBuffer

public TextureBuffer(int capacity)
Method Detail

getBlockSize

public final int getBlockSize()
Specified by:
getBlockSize in class FloatBlockBuffer
Returns:
how many floats contains to a single Block

enable

public void enable(javax.media.opengl.GL gl)

disable

public void disable(javax.media.opengl.GL gl)

jjdh API

Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.