pub fn draw(&self) {
        unsafe {
            gl::BindVertexArray(self.vao);
            gl::DrawArrays(self.primitive_mode as GLenum, 0, self.vertex_count as GLsizei);
        }
    }
/// Draws the contents of this vertex buffer with the primitive mode specified at construction.
Draws the contents of this vertex buffer with the primitive mode specified at construction.
Draws the contents of this vertex buffer with the primitive mode specified at construction .
pub fn draw(&self) {
        unsafe {
            gl::BindVertexArray(self.vao);
            gl::DrawArrays(self.primitive_mode as GLenum, 0, self.vertex_count as GLsizei);
        }
    }
pub fn draw ( & self ) { unsafe { gl :: BindVertexArray ( self . vao ) ; gl :: DrawArrays ( self . primitive_mode as GLenum , 0 , self . vertex_count as GLsizei ) ; } }
Draws the contents of this vertex buffer with the primitive mode specified at construction.
Draws the contents of this vertex buffer with the primitive mode specified at construction .
&self
&self