- cinder::geom::Modifier
- cinder::geom::ColorFromAttrib
Modifies the color of a geom::Source as a function of a 2D or 3D input attribute.
Show All |
Public Member Functions
-
ColorFromAttrib (Attrib attrib, const std::function< Colorf(vec2)> &fn)
-
ColorFromAttrib (Attrib attrib, const std::function< Colorf(vec3)> &fn)
-
getAttrib () const
-
attrib (Attrib attrib)
-
Modifier *clone () const override
-
uint8_tgetAttribDims (Attrib attr, uint8_t upstreamDims) const override
-
getAvailableAttribs (const Modifier::Params &upstreamParams) const override
-
voidprocess (SourceModsContext *ctx, const AttribSet &requestedAttribs) const override
-
size_tgetNumVertices (const Modifier::Params &upstreamParams) const
-
size_tgetNumIndices (const Modifier::Params &upstreamParams) const
-
getPrimitive (const Modifier::Params &upstreamParams) const