SF_INLINE bool SetArraySize(unsigned sz);
SetArraySize sets the size of an array object. Only valid for Array types. This method will resize the array by allocating the necessary storage for the new number of elements. Existing elements are not removed unless the new size is smaller than the current size.
Parameters |
Description |
unsigned sz |
The new size of the array. |
True if the array was resized otherwise false.