jjdh API

jjdh.opengl.engine.buffers
Class ColorBuffer

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.ColorBuffer
All Implemented Interfaces:
GLSwitchable, GLBuffer

public class ColorBuffer
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
ColorBuffer(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

ColorBuffer

public ColorBuffer(int capacity)
Method Detail

getBlockSize

public 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.