pub trait ArraysTraitConst {
    fn as_raw_Arrays(&self) -> *const c_void;

    fn bind(&self) -> Result<()> { ... }
    fn size(&self) -> Result<i32> { ... }
    fn empty(&self) -> Result<bool> { ... }
}
Expand description

Wrapper for OpenGL Client-Side Vertex arrays.

ogl::Arrays stores vertex data in ogl::Buffer objects.

Required Methods§

Provided Methods§

Binds all vertex arrays.

Returns the vertex count.

Implementors§