void function ( short [ ] arg0 , int arg1 , int arg2 ) { isDirty = true ; buffer . clear ( ) ; buffer . put ( arg0 , arg1 , arg2 ) ; buffer . flip ( ) ; if ( isBound ) { Gdx . gl20 . glBufferData ( GL20 . GL_ELEMENT_ARRAY_BUFFER , buffer . limit ( ) , buffer , usage ) ; isDirty = false ; } }
sets the indices of this indexbufferobject , discarding the old indices . the count must equal the number of indices to be copied to this indexbufferobject . this can be called in between calls to #bind and #unbind . the index data will be updated instantly . concode_field_sep boolean isDirty concode_elem_sep int usage concode_elem_sep boolean isBound concode_elem_sep int bufferHandle concode_elem_sep ShortBuffer buffer concode_elem_sep boolean isDirect concode_field_sep int getNumIndices concode_elem_sep void bind concode_elem_sep ShortBuffer getBuffer concode_elem_sep void unbind concode_elem_sep void dispose concode_elem_sep void invalidate concode_elem_sep int getNumMaxIndices