MeshSubsetTopology


@ExperimentalCustomMeshApi
public final class MeshSubsetTopology


Defines the topology of the indices in a MeshSubset.

This specifies how the index buffer maps vertices to geometric primitives.

Summary

Public fields

static final @NonNull MeshSubsetTopology

Every three indices form a separate triangle.

static final @NonNull MeshSubsetTopology

Every index after the first two forms a triangle with the previous two indices.

Public methods

boolean
equals(Object other)
int
@NonNull String

Public fields

TRIANGLES

public static final @NonNull MeshSubsetTopology TRIANGLES

Every three indices form a separate triangle.

TRIANGLE_STRIP

public static final @NonNull MeshSubsetTopology TRIANGLE_STRIP

Every index after the first two forms a triangle with the previous two indices.

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()