Module mesh

Source
Expand description

Contains Mesh and other related data structures.

Structs§

Mesh
A set of primitives to be rendered.
MorphTarget
A dictionary mapping attributes to their deviations in the Morph Target.
Primitive
Geometry to be rendered with the given material.

Enums§

Mode
The type of primitives to render.
Semantic
Vertex attribute semantic name.

Constants§

LINES
Corresponds to GL_LINES.
LINE_LOOP
Corresponds to GL_LINE_LOOP.
LINE_STRIP
Corresponds to GL_LINE_STRIP.
POINTS
Corresponds to GL_POINTS.
TRIANGLES
Corresponds to GL_TRIANGLES.
TRIANGLE_FAN
Corresponds to GL_TRIANGLE_FAN.
TRIANGLE_STRIP
Corresponds to GL_TRIANGLE_STRIP.
VALID_MODES
All valid primitive rendering modes.
VALID_MORPH_TARGETS
All valid semantic names for Morph targets.