java.lang.Object | ||
↳ | android.renderscript.BaseObj | |
↳ | android.renderscript.Mesh |
This class was deprecated
in API level 16.
in API 16
This class is a container for geometric data displayed with Renderscript. Internally, a mesh is a collection of allocations that represent vertex data (positions, normals, texture coordinates) and index data such as triangles and lines.
Vertex data could either be interleaved within one allocation that is provided separately, as multiple allocation objects, or done as a combination of both. When a vertex channel name matches an input in the vertex program, Renderscript automatically connects the two together.
Parts of the mesh can be rendered with either explicit index sets or primitive types.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Mesh.AllocationBuilder | This class was deprecated in API level 16. in API 16 Mesh builder object. It starts empty and requires the user to add all the vertex and index allocations that comprise the mesh | ||||||||||
Mesh.Builder | This class was deprecated in API level 16. in API 16 Mesh builder object. It starts empty and requires you to add the types necessary to create vertex and index allocations. | ||||||||||
Mesh.Primitive | This enum was deprecated in API level 16. in API 16 Describes the way mesh vertex data is interpreted when rendering | ||||||||||
Mesh.TriangleMeshBuilder | This class was deprecated in API level 16. in API 16 Builder that allows creation of a mesh object point by point and triangle by triangle |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method was deprecated
in API level 16.
in API 16
| |||||||||||
This method was deprecated
in API level 16.
in API 16
| |||||||||||
This method was deprecated
in API level 16.
in API 16
| |||||||||||
This method was deprecated
in API level 16.
in API 16
| |||||||||||
This method was deprecated
in API level 16.
in API 16
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.renderscript.BaseObj
| |||||||||||
From class
java.lang.Object
|
This method was deprecated
in API level 16.
in API 16
slot | locaton within the list of index set allocation |
---|
This method was deprecated
in API level 16.
in API 16
slot | locaiton within the list of index set primitives |
---|
This method was deprecated
in API level 16.
in API 16
This method was deprecated
in API level 16.
in API 16
slot | index in the list of allocations to return |
---|
This method was deprecated
in API level 16.
in API 16