pub struct WebGLBuffer(pub u32);Expand description
an OpenGL buffer created with GLContext::create_buffer.
Buffers are used to store vertex attributes (position, normal, uv coordinates) and indexes for indexed rendering,
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Debug for WebGLBuffer
impl Debug for WebGLBuffer
Auto Trait Implementations§
impl Freeze for WebGLBuffer
impl RefUnwindSafe for WebGLBuffer
impl Send for WebGLBuffer
impl Sync for WebGLBuffer
impl Unpin for WebGLBuffer
impl UnwindSafe for WebGLBuffer
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