AttribFn /

#includecinder/GeomIo.h

Maps an attribute as a function of another attribute. Valid types are: float, vec2, vec3, vec4.


Public Member Functions

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

Protected Attributes