pub struct VertexBuffer { /* private fields */ }Implementations§
Source§impl VertexBuffer
impl VertexBuffer
pub fn new() -> VertexBuffer
pub fn buffer_data(&self, data: &[f32])
pub fn bind_to_attribute( &self, location: u32, size: i32, gl_type: u32, normalized: bool, stride: i32, offset: i32, )
Auto Trait Implementations§
impl Freeze for VertexBuffer
impl RefUnwindSafe for VertexBuffer
impl Send for VertexBuffer
impl Sync for VertexBuffer
impl Unpin for VertexBuffer
impl UnwindSafe for VertexBuffer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more