| java.lang.Object | |
| ? | android.renderscript.Mesh.AllocationBuilder |
Mesh builder object. It starts empty and requires the user to add all the vertex and index allocations that comprise the mesh
| 公有构造方法 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
| 公有方法 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Adds an allocation containing index buffer data and index type to the builder
|
||||||||||
|
|
Adds an index set type to the builder
|
||||||||||
|
|
Adds an allocation containing vertex buffer data to the builder
|
||||||||||
|
|
Create a Mesh object from the current state of the builder
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
| [Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
|||||||||||
Adds an allocation containing index buffer data and index type to the builder
| a | index set data allocation, could be null |
|---|---|
| p | index set primitive type |
Adds an index set type to the builder
| p | index set primitive type |
|---|
Adds an allocation containing vertex buffer data to the builder
| a | vertex data allocation |
|---|
| IllegalStateException |
|---|
Create a Mesh object from the current state of the builder