DefaultGeometry
public interface Geometry
Modifier and Type | Interface | Description |
---|---|---|
static class |
Geometry.FaceCullingMode |
This enum specify face culling.
|
static class |
Geometry.FillDrawingMode |
This enum specify how geometry is rendered.
|
static class |
Geometry.LineDrawingMode |
Line drawing modes declaration.
|
Modifier and Type | Field | Description |
---|---|---|
static Geometry.FaceCullingMode |
DEFAULT_FACE_CULLING_MODE |
Default face culling mode.
|
static Geometry.FillDrawingMode |
DEFAULT_FILL_DRAWING_MODE |
Default fill drawing mode.
|
static Geometry.LineDrawingMode |
DEFAULT_LINE_DRAWING_MODE |
Default wire drawing mode.
|
static boolean |
DEFAULT_POLYGON_OFFSET_MODE |
Default polygon offset mode.
|
Modifier and Type | Method | Description |
---|---|---|
ElementsBuffer |
getColors() |
Return the colors.
|
Geometry.FaceCullingMode |
getFaceCullingMode() |
Face-culling mode getter.
|
Geometry.FillDrawingMode |
getFillDrawingMode() |
Fill drawing mode getter.
|
IndicesBuffer |
getIndices() |
Return the indices if any.
|
Geometry.LineDrawingMode |
getLineDrawingMode() |
Line drawing mode getter.
|
ElementsBuffer |
getNormals() |
Return the normals.
|
boolean |
getPolygonOffsetMode() |
Polygon offset mode getter.
|
ElementsBuffer |
getTextureCoordinates() |
Texture coordinates getter.
|
ElementsBuffer |
getVertices() |
Return the vertices.
|
IndicesBuffer |
getWireIndices() |
Return the wire indices.
|
static final Geometry.FaceCullingMode DEFAULT_FACE_CULLING_MODE
static final Geometry.FillDrawingMode DEFAULT_FILL_DRAWING_MODE
static final Geometry.LineDrawingMode DEFAULT_LINE_DRAWING_MODE
static final boolean DEFAULT_POLYGON_OFFSET_MODE
Geometry.FaceCullingMode getFaceCullingMode()
Geometry.FillDrawingMode getFillDrawingMode()
Geometry.LineDrawingMode getLineDrawingMode()
boolean getPolygonOffsetMode()
ElementsBuffer getVertices()
ElementsBuffer getColors()
ElementsBuffer getTextureCoordinates()
ElementsBuffer getNormals()
IndicesBuffer getIndices()
null
is returned, indices should be treated as consecutive number.IndicesBuffer getWireIndices()
null
is returned, no edges are drawn.