public class ShaderRenderer3d extends Renderer3d
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoSwapBuffer |
protected static boolean |
DEBUG |
static boolean |
DECOMPOSE_VIEW |
protected IShaderable |
shaderable |
debugGL, doScreenshotAtNextDisplay, glu, height, image, traceGL, view, width
Constructor and Description |
---|
ShaderRenderer3d(View view,
boolean traceGL,
boolean debugGL) |
ShaderRenderer3d(View view,
boolean traceGL,
boolean debugGL,
IShaderable shaderable) |
Modifier and Type | Method and Description |
---|---|
void |
display(com.jogamp.opengl.GLAutoDrawable drawable) |
void |
dispose(com.jogamp.opengl.GLAutoDrawable drawable) |
static IGLRenderer |
getShaderContentRenderer(View view) |
void |
init(com.jogamp.opengl.GLAutoDrawable drawable) |
void |
postDisplay(com.jogamp.opengl.GL2 gl) |
void |
preDisplay(com.jogamp.opengl.GL2 gl) |
void |
reshape(com.jogamp.opengl.GLAutoDrawable drawable,
int x,
int y,
int width,
int height)
Rebuild all depth peeling buffers for the new screen size.
|
getHeight, getLastScreenshot, getWidth, nextDisplayUpdateScreenshot
protected IShaderable shaderable
protected boolean autoSwapBuffer
protected static boolean DEBUG
public static boolean DECOMPOSE_VIEW
public ShaderRenderer3d(View view, boolean traceGL, boolean debugGL)
public ShaderRenderer3d(View view, boolean traceGL, boolean debugGL, IShaderable shaderable)
public void init(com.jogamp.opengl.GLAutoDrawable drawable)
init
in interface com.jogamp.opengl.GLEventListener
init
in class Renderer3d
public void display(com.jogamp.opengl.GLAutoDrawable drawable)
display
in interface com.jogamp.opengl.GLEventListener
display
in class Renderer3d
public void preDisplay(com.jogamp.opengl.GL2 gl)
public void postDisplay(com.jogamp.opengl.GL2 gl)
public static IGLRenderer getShaderContentRenderer(View view)
public void reshape(com.jogamp.opengl.GLAutoDrawable drawable, int x, int y, int width, int height)
reshape
in interface com.jogamp.opengl.GLEventListener
reshape
in class Renderer3d
public void dispose(com.jogamp.opengl.GLAutoDrawable drawable)
dispose
in interface com.jogamp.opengl.GLEventListener
dispose
in class Renderer3d
Copyright © 2016. All rights reserved.