Package com.metsci.glimpse.dnc
Class DncLineProgram
- java.lang.Object
-
- com.metsci.glimpse.dnc.DncLineProgram
-
public class DncLineProgram extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDncLineProgram.DncLineProgramHandles
-
Field Summary
Fields Modifier and Type Field Description static StringdncLineFragShader_GLSLstatic StringdncLineGeomShader_GLSLstatic StringdncLineVertShader_GLSL
-
Constructor Summary
Constructors Constructor Description DncLineProgram()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose(com.jogamp.opengl.GL2ES2 gl)Deletes the program, and resets this object to the way it was beforehandles(GL2ES2)was first called.DncLineProgram.DncLineProgramHandleshandles(com.jogamp.opengl.GL2ES2 gl)Returns the raw GL handles for the shader program, uniforms, and attributes.
-
-
-
Method Detail
-
handles
public DncLineProgram.DncLineProgramHandles handles(com.jogamp.opengl.GL2ES2 gl)
Returns the raw GL handles for the shader program, uniforms, and attributes. Compiles and links the program, if necessary.
-
dispose
public void dispose(com.jogamp.opengl.GL2ES2 gl)
Deletes the program, and resets this object to the way it was beforehandles(GL2ES2)was first called.This object can be safely reused after being disposed, but in most cases there is no significant advantage to doing so.
-
-