public static class GLUTessellatorSupport.CollectPrimitivesCallback extends GLUtessellatorCallbackAdapter
Modifier and Type | Field and Description |
---|---|
protected boolean |
edgeFlag |
protected boolean[] |
edgeFlags |
protected int |
error |
protected int |
index |
protected IntBuffer |
lineBuffer |
protected List<Integer> |
lines |
protected IntBuffer |
triangleBuffer |
protected List<Integer> |
triangles |
protected GLUTessellatorSupport.VertexData[] |
vertices |
Constructor and Description |
---|
CollectPrimitivesCallback() |
Modifier and Type | Method and Description |
---|---|
void |
attach(GLUtessellator tessellator) |
void |
begin(int type) |
void |
edgeFlag(boolean flag) |
void |
end() |
void |
error(int errno) |
int |
getError() |
IntBuffer |
getLineIndices() |
IntBuffer |
getTriangleIndices() |
void |
reset() |
void |
vertex(Object vertexData) |
beginData, combine, combineData, edgeFlagData, endData, errorData, vertexData
protected boolean edgeFlag
protected boolean[] edgeFlags
protected int error
protected int index
protected IntBuffer lineBuffer
protected IntBuffer triangleBuffer
protected GLUTessellatorSupport.VertexData[] vertices
public void attach(GLUtessellator tessellator)
public void begin(int type)
begin
in interface GLUtessellatorCallback
begin
in class GLUtessellatorCallbackAdapter
public void edgeFlag(boolean flag)
edgeFlag
in interface GLUtessellatorCallback
edgeFlag
in class GLUtessellatorCallbackAdapter
public void end()
end
in interface GLUtessellatorCallback
end
in class GLUtessellatorCallbackAdapter
public void error(int errno)
error
in interface GLUtessellatorCallback
error
in class GLUtessellatorCallbackAdapter
public int getError()
public IntBuffer getLineIndices()
public IntBuffer getTriangleIndices()
public void reset()
public void vertex(Object vertexData)
vertex
in interface GLUtessellatorCallback
vertex
in class GLUtessellatorCallbackAdapter