de.grogra.imp3d.glsl.utility
Class RenderBuffer

java.lang.Object
  extended by de.grogra.imp3d.glsl.utility.RenderBuffer
All Implemented Interfaces:
FBOAttachment

public class RenderBuffer
extends java.lang.Object
implements FBOAttachment


Constructor Summary
RenderBuffer()
           
 
Method Summary
 void attachToFbo(OpenGLState glState, int ATTACHMENT_POINT)
           
 void create(OpenGLState glState, int FORMAT)
           
 void delete(OpenGLState glState, boolean javaonly)
           
 int estimateSizeInByte()
           
 boolean isOkay(OpenGLState glState)
           
 void resize(OpenGLState glState)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RenderBuffer

public RenderBuffer()
Method Detail

attachToFbo

public void attachToFbo(OpenGLState glState,
                        int ATTACHMENT_POINT)
Specified by:
attachToFbo in interface FBOAttachment

create

public void create(OpenGLState glState,
                   int FORMAT)
Specified by:
create in interface FBOAttachment

delete

public void delete(OpenGLState glState,
                   boolean javaonly)
Specified by:
delete in interface FBOAttachment

estimateSizeInByte

public int estimateSizeInByte()
Specified by:
estimateSizeInByte in interface FBOAttachment

isOkay

public boolean isOkay(OpenGLState glState)

resize

public void resize(OpenGLState glState)
Specified by:
resize in interface FBOAttachment

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object