pub enum DrawMode {
Static = 35_044,
Dynamic = 35_048,
Stream = 35_040,
}Variants§
Static = 35_044
Passed to bufferData as a hint about whether the contents of the buffer are likely to be used often and not change often.
Dynamic = 35_048
Passed to bufferData as a hint about whether the contents of the buffer are likely to be used often and change often.
Stream = 35_040
Passed to bufferData as a hint about whether the contents of the buffer are likely to not be used often.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DrawMode
impl RefUnwindSafe for DrawMode
impl Send for DrawMode
impl Sync for DrawMode
impl Unpin for DrawMode
impl UnwindSafe for DrawMode
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