Package com.metsci.glimpse.dnc
Class DncLabelProgram
- java.lang.Object
-
- com.metsci.glimpse.dnc.DncLabelProgram
-
public class DncLabelProgram extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDncLabelProgram.DncLabelProgramHandles
-
Field Summary
Fields Modifier and Type Field Description static StringdncLabelFragShader_GLSLstatic StringdncLabelGeomShader_GLSLstatic StringdncLabelVertShader_GLSL
-
Constructor Summary
Constructors Constructor Description DncLabelProgram()
-
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.DncLabelProgram.DncLabelProgramHandleshandles(com.jogamp.opengl.GL2ES2 gl)Returns the raw GL handles for the shader program, uniforms, and attributes.
-
-
-
Method Detail
-
handles
public DncLabelProgram.DncLabelProgramHandles 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.
-
-