|
发表于 2012-12-2 13:34:46
|
显示全部楼层
/** Set the data variance of this object.
* Can be set to either STATIC for values that do not change over the lifetime of the object,
* or DYNAMIC for values that vary over the lifetime of the object. The DataVariance value
* can be used by routines such as optimization codes that wish to share static data.
* UNSPECIFIED is used to specify that the DataVariance hasn't been set yet. */
enum DataVariance
{
DYNAMIC,
STATIC,
UNSPECIFIED
};
inline void setDataVariance(DataVariance dv) { _dataVariance = dv; } |
|