- cinder::geom::Modifier
- cinder::geom::Constant
Sets an attribute of a geom::Source to be a constant value for every vertex. Determines dimension from constructor (vec4 -> 4, for example)
Show All |
Public Member Functions
-
Constant (geom::Attrib attrib, float v)
-
Constant (geom::Attrib attrib, const vec2 &v)
-
Constant (geom::Attrib attrib, const vec3 &v)
-
Constant (geom::Attrib attrib, const vec4 &v)
-
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