18 #ifndef __HUSD_SetAttributes_h__
19 #define __HUSD_SetAttributes_h__
39 bool custom =
true)
const;
48 template<
typename UtValueType>
51 const UtValueType &
value,
56 bool clear_existing =
true)
const;
58 template<
typename UtValueType>
62 const UtValueType &value,
67 bool clear_existing =
true)
const;
73 template<
typename UtValueType>
81 bool clear_existing =
true)
const
82 {
return setAttribute(primpath, attrname,
83 value, timecode, valueType,
84 custom, clear_existing); }
86 template<
typename UtValueType>
95 bool clear_existing =
true)
const
96 {
return setPrimvar(primpath, primvarname,
97 interpolation, value, timecode,
98 valueType, elementsize, clear_existing); }
107 bool clear_existing =
true)
const;
130 bool disconnectIfConnected(
const UT_StringRef &primpath,
142 bool clear_existing =
true)
const;
bool setAttributeArray(const UT_StringRef &primpath, const UT_StringRef &attrname, const UT_Array< UtValueType > &value, const HUSD_TimeCode &timecode, const UT_StringRef &valueType=UT_StringHolder::theEmptyString, bool custom=true, bool clear_existing=true) const
GLsizei GLenum const void * indices
static const UT_StringHolder theEmptyString
A map of string to various well defined value types.
bool setPrimvarArray(const UT_StringRef &primpath, const UT_StringRef &primvarname, const UT_StringRef &interpolation, const UT_Array< UtValueType > &value, const HUSD_TimeCode &timecode, const UT_StringRef &valueType=UT_StringHolder::theEmptyString, int elementsize=1, bool clear_existing=true) const