- cinder::geom::Modifier
- cinder::geom::Subdivide
Calculates a single level of subdivision of triangles by inserting a single vertex in the center of each triangle. Interpolates all attributes and normalizes 3D NORMAL, TANGENT and BITANGENT attributes.
Show All |
Public Member Functions
-
Subdivide ()
-
size_tgetNumVertices (const Modifier::Params &upstreamParams) const override
-
size_tgetNumIndices (const Modifier::Params &upstreamParams) const override
-
Modifier *clone () const override
-
voidprocess (SourceModsContext *ctx, const AttribSet &requestedAttribs) const override
-
getPrimitive (const Modifier::Params &upstreamParams) const
-
uint8_tgetAttribDims (Attrib attr, uint8_t upstreamDims) const
-
getAvailableAttribs (const Modifier::Params &upstreamParams) const