com.metsci.glimpse.gl.attribute
Class GLFloatBuffer

java.lang.Object
  extended by com.metsci.glimpse.gl.attribute.GLFloatBuffer
Direct Known Subclasses:
GLFloatBuffer2D

public class GLFloatBuffer
extends java.lang.Object


Nested Class Summary
static interface GLFloatBuffer.Mutator
           
 
Constructor Summary
GLFloatBuffer(int length, int elementSize)
           
 
Method Summary
 void bind(GLVertexAttribute type, javax.media.opengl.GL gl)
           
 void bind(int genericIndex, javax.media.opengl.GL gl)
           
 boolean dispose(javax.media.opengl.GL gl)
           
 int getMaxVertices()
           
 int getNumVertices()
           
 boolean isDirty()
           
 void makeDirty()
           
 void mutate(GLFloatBuffer.Mutator mutator)
           
 boolean prepare(javax.media.opengl.GL gl)
           
 void unbind(javax.media.opengl.GL gl)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLFloatBuffer

public GLFloatBuffer(int length,
                     int elementSize)
Method Detail

isDirty

public boolean isDirty()

makeDirty

public void makeDirty()

getNumVertices

public int getNumVertices()

getMaxVertices

public int getMaxVertices()

bind

public void bind(GLVertexAttribute type,
                 javax.media.opengl.GL gl)

bind

public void bind(int genericIndex,
                 javax.media.opengl.GL gl)

unbind

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

prepare

public boolean prepare(javax.media.opengl.GL gl)

dispose

public boolean dispose(javax.media.opengl.GL gl)

mutate

public void mutate(GLFloatBuffer.Mutator mutator)


Copyright © 2012 Metron, Inc.. All Rights Reserved.