public static class GLUTessellatorSupport.CollectIndexListsCallback extends GLUtessellatorCallbackAdapter
| Modifier and Type | Field and Description |
|---|---|
protected List<Integer> |
currentPrim |
protected int |
currentType |
protected int |
numIndices |
protected List<List<Integer>> |
prims |
protected List<Integer> |
primTypes |
| Constructor and Description |
|---|
CollectIndexListsCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(int type) |
void |
combine(double[] coords,
Object[] data,
float[] weight,
Object[] outData) |
void |
end() |
int |
getNumIndices() |
List<List<Integer>> |
getPrims() |
List<Integer> |
getPrimTypes() |
void |
vertex(Object vertexData) |
beginData, combineData, edgeFlag, edgeFlagData, endData, error, errorData, vertexDatapublic void begin(int type)
begin in interface GLUtessellatorCallbackbegin in class GLUtessellatorCallbackAdapterpublic void combine(double[] coords,
Object[] data,
float[] weight,
Object[] outData)
combine in interface GLUtessellatorCallbackcombine in class GLUtessellatorCallbackAdapterpublic void end()
end in interface GLUtessellatorCallbackend in class GLUtessellatorCallbackAdapterpublic int getNumIndices()
public void vertex(Object vertexData)
vertex in interface GLUtessellatorCallbackvertex in class GLUtessellatorCallbackAdapter