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, nextDisplayUpdateScreenshotprotected 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.GLEventListenerinit in class Renderer3dpublic void display(com.jogamp.opengl.GLAutoDrawable drawable)
display in interface com.jogamp.opengl.GLEventListenerdisplay in class Renderer3dpublic 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.GLEventListenerreshape in class Renderer3dpublic void dispose(com.jogamp.opengl.GLAutoDrawable drawable)
dispose in interface com.jogamp.opengl.GLEventListenerdispose in class Renderer3dCopyright © 2016. All rights reserved.