Lines /

#includecinder/GeomIo.h

Converts any geom::Source to equivalent vertices connected by lines. Output primitive type is always geom::Primitive::LINES.


Public Member Functions

  • clone () const override
  • size_t
    getNumIndices (const Modifier::Params &upstreamParams) const override
  • getPrimitive (const Modifier::Params &) const override
  • process (SourceModsContext *ctx, const AttribSet &requestedAttribs) const override
  • size_t
    getNumVertices (const Modifier::Params &upstreamParams) const
  • uint8_t
    getAttribDims (Attrib attr, uint8_t upstreamDims) const
  • getAvailableAttribs (const Modifier::Params &upstreamParams) const

Protected Member Functions

  • size_t
    calcNumIndices (Primitive primitive, size_t upstreamNumIndices, size_t upstreamNumVertices)