protected static class GLUTessellatorSupport.OGLDrawPrimitivesCallback extends GLUtessellatorCallbackAdapter
Constructor and Description |
---|
OGLDrawPrimitivesCallback(GL2 gl) |
Modifier and Type | Method and Description |
---|---|
void |
begin(int type) |
void |
combine(double[] coords,
java.lang.Object[] data,
float[] weight,
java.lang.Object[] outData) |
void |
end() |
void |
vertex(java.lang.Object vertexData) |
beginData, combineData, edgeFlag, edgeFlagData, endData, error, errorData, vertexData
protected final GL2 gl
public OGLDrawPrimitivesCallback(GL2 gl)
public void begin(int type)
begin
in interface GLUtessellatorCallback
begin
in class GLUtessellatorCallbackAdapter
public void combine(double[] coords, java.lang.Object[] data, float[] weight, java.lang.Object[] outData)
combine
in interface GLUtessellatorCallback
combine
in class GLUtessellatorCallbackAdapter
public void end()
end
in interface GLUtessellatorCallback
end
in class GLUtessellatorCallbackAdapter
public void vertex(java.lang.Object vertexData)
vertex
in interface GLUtessellatorCallback
vertex
in class GLUtessellatorCallbackAdapter