public static class IndexedGeometry.Builder extends Geometry.Builder
| Modifier and Type | Field and Description |
|---|---|
protected IndexBuffer |
ibo |
attributes, drawType, elements, vbo| Constructor and Description |
|---|
Builder(IndexBuffer ibo,
VertexBuffer vbo,
int elements) |
Builder(java.util.List<java.lang.Short> indices,
java.util.List<org.saintandreas.math.Vector4f> vertices) |
| Modifier and Type | Method and Description |
|---|---|
IndexedGeometry |
build() |
protected VertexArray |
buildVertexArray() |
withAttribute, withAttribute, withAttribute, withAttribute, withDrawTypeprotected final IndexBuffer ibo
public Builder(java.util.List<java.lang.Short> indices,
java.util.List<org.saintandreas.math.Vector4f> vertices)
public Builder(IndexBuffer ibo, VertexBuffer vbo, int elements)
protected VertexArray buildVertexArray()
buildVertexArray in class Geometry.Builderpublic IndexedGeometry build()
build in class Geometry.BuilderCopyright © 2013-2014. All Rights Reserved.