[−][src]Struct qt_gui::q_opengl_buffer::UsagePattern
This enum defines the usage pattern of a QOpenGLBuffer object.
C++ enum: QOpenGLBuffer::UsagePattern
.
This enum defines the usage pattern of a QOpenGLBuffer object.
Methods
impl UsagePattern
[src]
impl UsagePattern
[src]
pub const StreamDraw: UsagePattern
[src]
The data will be set once and used a few times for drawing operations. Under OpenGL/ES 1.1 this is identical to StaticDraw. (C++ enum variant: StreamDraw = 35040
)
pub const StreamRead: UsagePattern
[src]
The data will be set once and used a few times for reading data back from the OpenGL server. Not supported under OpenGL/ES. (C++ enum variant: StreamRead = 35041
)
pub const StreamCopy: UsagePattern
[src]
The data will be set once and used a few times for reading data back from the OpenGL server for use in further drawing operations. Not supported under OpenGL/ES. (C++ enum variant: StreamCopy = 35042
)
pub const StaticDraw: UsagePattern
[src]
The data will be set once and used many times for drawing operations. (C++ enum variant: StaticDraw = 35044
)
pub const StaticRead: UsagePattern
[src]
The data will be set once and used many times for reading data back from the OpenGL server. Not supported under OpenGL/ES. (C++ enum variant: StaticRead = 35045
)
pub const StaticCopy: UsagePattern
[src]
The data will be set once and used many times for reading data back from the OpenGL server for use in further drawing operations. Not supported under OpenGL/ES. (C++ enum variant: StaticCopy = 35046
)
pub const DynamicDraw: UsagePattern
[src]
The data will be modified repeatedly and used many times for drawing operations. (C++ enum variant: DynamicDraw = 35048
)
pub const DynamicRead: UsagePattern
[src]
The data will be modified repeatedly and used many times for reading data back from the OpenGL server. Not supported under OpenGL/ES. (C++ enum variant: DynamicRead = 35049
)
pub const DynamicCopy: UsagePattern
[src]
The data will be modified repeatedly and used many times for reading data back from the OpenGL server for use in further drawing operations. Not supported under OpenGL/ES. (C++ enum variant: DynamicCopy = 35050
)
Trait Implementations
impl Clone for UsagePattern
[src]
fn clone(&self) -> UsagePattern
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for UsagePattern
[src]
impl Debug for UsagePattern
[src]
impl Eq for UsagePattern
[src]
impl From<UsagePattern> for c_int
[src]
fn from(value: UsagePattern) -> Self
[src]
impl From<i32> for UsagePattern
[src]
impl PartialEq<UsagePattern> for UsagePattern
[src]
fn eq(&self, other: &UsagePattern) -> bool
[src]
fn ne(&self, other: &UsagePattern) -> bool
[src]
impl StructuralEq for UsagePattern
[src]
impl StructuralPartialEq for UsagePattern
[src]
Auto Trait Implementations
impl RefUnwindSafe for UsagePattern
impl Send for UsagePattern
impl Sync for UsagePattern
impl Unpin for UsagePattern
impl UnwindSafe for UsagePattern
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,