flex_elem for indexed 2D triangles and 1D
line segments, and flex_shell for the external triangles of 3D flexes. Vertex
positions follow data.flexvert_xpos each frame and surface normals are updated.
Color and opacity come from flex_rgba. Flex textures and physical thickness
visualization are not yet supported. Models without flexes render nothing.