#include <paramlist.h>
Public Types | |
enum | Interp { INTERP_CONSTANT = 0, INTERP_PERPIECE = 1, INTERP_LINEAR = 2, INTERP_VERTEX = 3 } |
Public Member Functions | |
ParamValue (const ustring &_name, TypeDesc _type, int _nvalues, const void *_value, bool _copy=true) | |
ParamValue (const std::string &_name, TypeDesc _type, int _nvalues, const void *_value, bool _copy=true) | |
ParamValue (const char *_name, TypeDesc _type, int _nvalues, const void *_value, bool _copy=true) | |
ParamValue (const ParamValue &p, bool _copy=true) | |
void | init (ustring _name, TypeDesc _type, int _nvalues, const void *_value, bool _copy=true) |
void | init (std::string _name, TypeDesc _type, int _nvalues, const void *_value, bool _copy=true) |
const ParamValue & | operator= (const ParamValue &p) |
const ustring & | name () const |
TypeDesc | type () const |
int | nvalues () const |
const void * | data () const |
int | datasize () const |
Friends | |
void | swap (ParamValue &a, ParamValue &b) |
ParamValue holds a parameter and a pointer to its value(s)
Nomenclature: if you have an array of 4 colors for each of 15 points...
enum ParamValue::Interp |