question: public void changeBufferData ( BufferInfo bufferInfo , Buffer newData , int index , int size , boolean resizeBuffer ) { newData . rewind ( ) ; GLES20 . glBindBuffer ( bufferInfo . target , bufferInfo . bufferHandle ) ; if ( resizeBuffer ) { bufferInfo . buffer = newData ; GLES20 . glBufferData ( bufferInfo . target , size * bufferInfo . byteSize , newData , bufferInfo . usage ) ; } else { GLES20 . glBufferSubData ( bufferInfo . target , index * bufferInfo . byteSize , size * bufferInfo . byteSize , newData ) ; } GLES20 . glBindBuffer ( bufferInfo . target , 0 ) ; }
target:  Change a specific subset of the buffer's data at the given offset to the given length.