de.grogra.imp3d.glsl
public class GLSLFBOManager extends java.lang.Object
| Constructor and Description |
|---|
GLSLFBOManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAll(OpenGLState glState,
boolean javaonly)
Deletes all associated FBOs and Renderbuffers.
|
void |
resize(GLSLDisplay disp,
OpenGLState glState)
Resizes FBO.
|
protected void |
setupFBO(OpenGLState glState)
Setup FBO for the first renderpass.
|
public void deleteAll(OpenGLState glState, boolean javaonly)
glState - Current OpenGLState.javaonly - true, if only Java-Side of OpenGL-Objects
should be deleted.public void resize(GLSLDisplay disp, OpenGLState glState)
disp - Display object to get new resolutionglState - New GL contextprotected void setupFBO(OpenGLState glState)
glState - The OpenGLState for the current active GLContext