[−][src]Struct qt_gui::q_opengl_framebuffer_object::FramebufferRestorePolicy
This enum type is used to configure the behavior related to restoring framebuffer bindings when calling blitFramebuffer().
C++ enum: QOpenGLFramebufferObject::FramebufferRestorePolicy
.
This enum type is used to configure the behavior related to restoring framebuffer bindings when calling blitFramebuffer().
This enum was introduced or modified in Qt 5.7.
See also blitFramebuffer().
Methods
impl FramebufferRestorePolicy
[src]
impl FramebufferRestorePolicy
[src]
pub const DontRestoreFramebufferBinding: FramebufferRestorePolicy
[src]
Do not restore the previous framebuffer binding. The caller is responsible for tracking and setting the framebuffer binding as needed. (C++ enum variant: DontRestoreFramebufferBinding = 0
)
pub const RestoreFramebufferBindingToDefault: FramebufferRestorePolicy
[src]
After the blit operation, bind the default framebuffer. (C++ enum variant: RestoreFramebufferBindingToDefault = 1
)
pub const RestoreFrameBufferBinding: FramebufferRestorePolicy
[src]
Restore the previously bound framebuffer. This is potentially expensive because of the need to query the currently bound framebuffer. (C++ enum variant: RestoreFrameBufferBinding = 2
)
Trait Implementations
impl Clone for FramebufferRestorePolicy
[src]
fn clone(&self) -> FramebufferRestorePolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FramebufferRestorePolicy
[src]
impl Debug for FramebufferRestorePolicy
[src]
impl Eq for FramebufferRestorePolicy
[src]
impl From<FramebufferRestorePolicy> for c_int
[src]
fn from(value: FramebufferRestorePolicy) -> Self
[src]
impl From<i32> for FramebufferRestorePolicy
[src]
impl PartialEq<FramebufferRestorePolicy> for FramebufferRestorePolicy
[src]
fn eq(&self, other: &FramebufferRestorePolicy) -> bool
[src]
fn ne(&self, other: &FramebufferRestorePolicy) -> bool
[src]
impl StructuralEq for FramebufferRestorePolicy
[src]
impl StructuralPartialEq for FramebufferRestorePolicy
[src]
Auto Trait Implementations
impl RefUnwindSafe for FramebufferRestorePolicy
impl Send for FramebufferRestorePolicy
impl Sync for FramebufferRestorePolicy
impl Unpin for FramebufferRestorePolicy
impl UnwindSafe for FramebufferRestorePolicy
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>,