{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

VertexMode.Companion

public static class VertexMode.Companion


Summary

Public methods

static final @NonNull VertexMode

Draw the first point and each sliding window of two points as the vertices of a triangle.

static final @NonNull VertexMode

Draw each sliding window of three points as the vertices of a triangle.

static final @NonNull VertexMode

Draw each sequence of three points as the vertices of a triangle.

Public methods

getTriangleFan

public static final @NonNull VertexMode getTriangleFan()

Draw the first point and each sliding window of two points as the vertices of a triangle.

getTriangleStrip

public static final @NonNull VertexMode getTriangleStrip()

Draw each sliding window of three points as the vertices of a triangle.

getTriangles

public static final @NonNull VertexMode getTriangles()

Draw each sequence of three points as the vertices of a triangle.