pub enum Target {
ArrayBuffer = 1,
ElementArrayBuffer = 2,
}
Expand description
Specifies the target a GPU buffer should be bound to.
Variants§
ArrayBuffer = 1
Corresponds to GL_ARRAY_BUFFER
.
ElementArrayBuffer = 2
Corresponds to GL_ELEMENT_ARRAY_BUFFER
.
Trait Implementations§
source§impl PartialEq for Target
impl PartialEq for Target
impl Copy for Target
impl Eq for Target
impl StructuralEq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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