Skip to content

Most visited

Recently visited

navigation

Mesh.Primitive | Android Developers

to top
Android APIs
Added in API level 11
Deprecated since API level 16
public static final enum

Mesh.Primitive

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ android.renderscript.Mesh.Primitive

This enum was deprecated in API level 16.
in API 16 Describes the way mesh vertex data is interpreted when rendering

Summary

Enum Values
Mesh.Primitive  LINE  This field is deprecated. in API 16 Vertex pairs will be rendered as lines  
Mesh.Primitive  LINE_STRIP  This field is deprecated. in API 16 Vertex data will be rendered as a connected line strip  
Mesh.Primitive  POINT  This field is deprecated. in API 16 Vertex data will be rendered as a series of points  
Mesh.Primitive  TRIANGLE  This field is deprecated. in API 16 Vertices will be rendered as individual triangles  
Mesh.Primitive  TRIANGLE_FAN  This field is deprecated. in API 16 Vertices will be rendered as a sequence of triangles that all share first vertex as the origin  
Mesh.Primitive  TRIANGLE_STRIP  This field is deprecated. in API 16 Vertices will be rendered as a connected triangle strip defined by the first three vertices with each additional triangle defined by a new vertex  
Public Methods
static Mesh.Primitive valueOf(String name)
final static Primitive[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Mesh.Primitive LINE

This field is deprecated.
in API 16 Vertex pairs will be rendered as lines

public static final Mesh.Primitive LINE_STRIP

This field is deprecated.
in API 16 Vertex data will be rendered as a connected line strip

public static final Mesh.Primitive POINT

This field is deprecated.
in API 16 Vertex data will be rendered as a series of points

public static final Mesh.Primitive TRIANGLE

This field is deprecated.
in API 16 Vertices will be rendered as individual triangles

public static final Mesh.Primitive TRIANGLE_FAN

This field is deprecated.
in API 16 Vertices will be rendered as a sequence of triangles that all share first vertex as the origin

public static final Mesh.Primitive TRIANGLE_STRIP

This field is deprecated.
in API 16 Vertices will be rendered as a connected triangle strip defined by the first three vertices with each additional triangle defined by a new vertex

Public Methods

public static Mesh.Primitive valueOf (String name)

Added in API level 11

public static final Primitive[] values ()

Added in API level 11

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.