/// upload the current vertices and indices to the internal `DrawOp`'s gpu buffers.

upload the current vertices and indices to the internal `DrawOp`'s gpu buffers.
upload the current vertices and indices to the internal ` DrawOp ` ' s gpu buffers .
pub fn update_draw_op_buffers(&mut self) {
                self.draw_op.bind_vertices(&self.vertices);
                if self.indices.len() > 0 {
                    self.draw_op.bind_indices(&self.indices);
                    self.draw_op.draw_range = 0 .. self.indices.len();
                } else {
                    self.draw_op.index_buffer = None;
                    self.draw_op.draw_range = 0 .. self.vertices.len();
                }
            }
pub fn update_draw_op_buffers ( & mut self ) { self . draw_op . bind_vertices ( & self . vertices ) ; if self . indices . len ( ) > 0 { self . draw_op . bind_indices ( & self . indices ) ; self . draw_op . draw_range = 0 .. self . indices . len ( ) ; } else { self . draw_op . index_buffer = None ; self . draw_op . draw_range = 0 .. self . vertices . len ( ) ; } }
upload the current vertices and indices to the internal `DrawOp`'s gpu buffers.
upload the current vertices and indices to the internal ` DrawOp ` ' s gpu buffers .
&mut self