21 return _is_registered;
57 nassertv(!_is_registered);
58 nassertv(_stride >= _total_bytes);
83 nassertv(pad_to >= 1);
86 _stride = ((_stride + _pad_to - 1) / _pad_to) * _pad_to;
106 nassertv(divisor >= 0);
124 return (
int)_columns.size();
132 nassertr(i >= 0 && i < (
int)_columns.size(),
nullptr);
133 consider_sort_columns();
134 return _columns[(size_t)i];
148INLINE GeomVertexArrayFormat::Registry *GeomVertexArrayFormat::
150 if (_registry ==
nullptr) {
159INLINE
void GeomVertexArrayFormat::
160consider_sort_columns()
const {
161 if (_columns_unsorted) {
This defines how a single column is interleaved within a vertex array stored within a Geom.
Encodes a string name in a hash table, mapping it to a pointer.