Module luminance::tess [] [src]

Tessellation features.

Tessellation mode

Tessellation is geometric information. Currently, several kinds of tessellation are supported:

  • point clouds;
  • lines;
  • line strips;
  • triangles;
  • triangle fans;
  • triangle strips.

Those kinds of tessellation are designated by the Mode type.

Tessellation abstraction

The tessellation is an abstract concept that depends on the backend. That’s why tessellation is an associated type found in the HasTess trait.

You create a new tessellation with the new function.

Structs

Tess

GPU tessellation.

TessRender

Tessellation render.

Enums

Mode

Vertices can be connected via several modes.

TessMapError

Error that can occur while trying to map GPU tessellation to host code.

TessVertices

Accepted vertices for building tessellations.