17 INLINE
size_t TransformBlendTable::
18 get_num_blends()
const {
19 return _blends.size();
27 nassertr(n < _blends.size(), _blends[0]);
37 CDLockedReader cdata(_cycler);
41 return cdataw->_modified;
43 return cdata->_modified;
53 INLINE
int TransformBlendTable::
54 get_num_transforms()
const {
55 consider_rebuild_index();
57 if (_num_transforms < 0) {
64 return _num_transforms;
72 INLINE
int TransformBlendTable::
73 get_max_simultaneous_transforms()
const {
74 consider_rebuild_index();
75 return _max_simultaneous_transforms;
109 INLINE
void TransformBlendTable::
110 consider_rebuild_index()
const {
111 if (_blend_index.empty()) {
119 INLINE TransformBlendTable::CData::
126 INLINE TransformBlendTable::CData::
127 CData(
const TransformBlendTable::CData ©) :
128 _modified(copy._modified),
129 _global_modified(copy._global_modified)
This class records a set of integers, where each integer is either present or not present in the set.
A thread; that is, a lightweight process.
This is a sequence number that increments monotonically.