public class GL3Sample
extends java.lang.Object
implements com.jogamp.opengl.GLEventListener
Constructor and Description |
---|
GL3Sample() |
Modifier and Type | Method and Description |
---|---|
void |
display(com.jogamp.opengl.GLAutoDrawable drawable)
GL Render loop
|
void |
dispose(com.jogamp.opengl.GLAutoDrawable drawable)
GL Complete
|
int |
getProgramParameter(com.jogamp.opengl.GL3 gl,
int obj,
int paramName)
Gets a program parameter value
|
java.lang.String |
getShaderInfoLog(com.jogamp.opengl.GL3 gl,
int obj)
Retrieves the info log for the shader
|
void |
init(com.jogamp.opengl.GLAutoDrawable drawable)
GL Init
|
static void |
main(java.lang.String[] args) |
static javax.swing.JFrame |
newJFrame(java.lang.String name,
com.jogamp.opengl.GLEventListener sample,
int x,
int y,
int width,
int height) |
java.lang.String |
printProgramInfoLog(com.jogamp.opengl.GL3 gl,
int obj)
Retrieves the info log for the program
|
void |
reshape(com.jogamp.opengl.GLAutoDrawable drawable,
int x,
int y,
int width,
int height)
GL Window Reshape
|
public java.lang.String getShaderInfoLog(com.jogamp.opengl.GL3 gl, int obj)
public java.lang.String printProgramInfoLog(com.jogamp.opengl.GL3 gl, int obj)
public int getProgramParameter(com.jogamp.opengl.GL3 gl, int obj, int paramName)
public void init(com.jogamp.opengl.GLAutoDrawable drawable)
init
in interface com.jogamp.opengl.GLEventListener
public void reshape(com.jogamp.opengl.GLAutoDrawable drawable, int x, int y, int width, int height)
reshape
in interface com.jogamp.opengl.GLEventListener
public void display(com.jogamp.opengl.GLAutoDrawable drawable)
display
in interface com.jogamp.opengl.GLEventListener
public void dispose(com.jogamp.opengl.GLAutoDrawable drawable)
dispose
in interface com.jogamp.opengl.GLEventListener
public static javax.swing.JFrame newJFrame(java.lang.String name, com.jogamp.opengl.GLEventListener sample, int x, int y, int width, int height)
public static void main(java.lang.String[] args)