/** Returns the total amount of storage required by this object and others
in the same chain, including any padding required by object alignment. */
- std::size_t get_required_buffer_size() const;
+ std::size_t get_required_buffer_size(bool = false) const;
/** Uploads new data into the buffer if necessary. */
void refresh() const { if(dirty) upload_data(0); }