pub enum DrawMode {
Static,
Dynamic,
Stream,
}
Variants
Static
Passed to bufferData as a hint about whether the contents of the buffer are likely to be used often and not change often.
Dynamic
Passed to bufferData as a hint about whether the contents of the buffer are likely to be used often and change often.
Stream
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 RefUnwindSafe for DrawMode
impl Send for DrawMode
impl Sync for DrawMode
impl Unpin for DrawMode
impl UnwindSafe for DrawMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more