Mesh


public class Mesh
extends Object

java.lang.Object
   ↳ android.graphics.Mesh


Class representing a mesh object. This class represents a Mesh object that can optionally be indexed. A MeshSpecification is required along with various attributes for detailing the mesh object, including a mode, vertex buffer, optional index buffer, and bounds for the mesh. Once generated, a mesh object can be drawn through Canvas.drawMesh(Mesh,BlendMode,Paint)

Summary

Constants

int TRIANGLES

The mesh will be drawn with triangles without utilizing shared vertices.

int TRIANGLE_STRIP

The mesh will be drawn with triangles utilizing shared vertices.

Public constructors

Mesh(MeshSpecification meshSpec, in