Function CommandBuilder.Preallocate
Preallocate
(int size)
Pre-allocates the internal buffer to an additional size bytes.
Public
void Preallocate (
int | size |
Pre-allocates the internal buffer to an additional size bytes.
This can give you a minor performance boost if you are drawing a lot of things.
Note
Only resizes the buffer for the current thread.