Constructor and Description |
---|
Mesh.AllocationBuilder(RenderScript rs)
Deprecated.
in API 16
|
Modifier and Type | Method and Description |
---|---|
Mesh.AllocationBuilder |
addIndexSetAllocation(Allocation a,
Mesh.Primitive p)
Deprecated.
in API 16
Adds an allocation containing index buffer data and index type
to the builder
|
Mesh.AllocationBuilder |
addIndexSetType(Mesh.Primitive p)
Deprecated.
in API 16
Adds an index set type to the builder
|
Mesh.AllocationBuilder |
addVertexAllocation(Allocation a)
Deprecated.
in API 16
Adds an allocation containing vertex buffer data to the
builder
|
Mesh |
create()
Deprecated.
in API 16
Create a Mesh object from the current state of the builder
|
int |
getCurrentIndexSetIndex()
Deprecated.
in API 16
|
int |
getCurrentVertexTypeIndex()
Deprecated.
in API 16
|
public Mesh.AllocationBuilder(RenderScript rs)
public int getCurrentVertexTypeIndex()
public int getCurrentIndexSetIndex()
public Mesh.AllocationBuilder addVertexAllocation(Allocation a) throws IllegalStateException
a
- vertex data allocationIllegalStateException
public Mesh.AllocationBuilder addIndexSetAllocation(Allocation a, Mesh.Primitive p)
a
- index set data allocation, could be nullp
- index set primitive typepublic Mesh.AllocationBuilder addIndexSetType(Mesh.Primitive p)
p
- index set primitive typepublic Mesh create()