ensure the batch can contain the passed in amount of particles concode_field_sep Array<T> renderData concode_elem_sep ParticleSorter sorter concode_elem_sep int currentCapacity concode_elem_sep int bufferedParticlesCount concode_elem_sep Camera camera concode_field_sep void setCamera concode_elem_sep void flush concode_elem_sep void allocParticlesData concode_elem_sep int getBufferedCount concode_elem_sep void setSorter concode_elem_sep ParticleSorter getSorter concode_elem_sep void end concode_elem_sep void draw concode_elem_sep void begin concode_elem_sep void resetCapacity
void function ( int arg0 ) { if ( currentCapacity >= arg0 ) return ; sorter . ensureCapacity ( arg0 ) ; allocParticlesData ( arg0 ) ; currentCapacity = arg0 ; }