[][src]Struct qt_gui::q_opengl_framebuffer_object::FramebufferRestorePolicy

#[repr(transparent)]
pub struct FramebufferRestorePolicy(_);

This enum type is used to configure the behavior related to restoring framebuffer bindings when calling blitFramebuffer().

C++ enum: QOpenGLFramebufferObject::FramebufferRestorePolicy.

C++ documentation:

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]

pub fn to_int(&self) -> c_int[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]

impl Copy for FramebufferRestorePolicy[src]

impl Debug for FramebufferRestorePolicy[src]

impl Eq for FramebufferRestorePolicy[src]

impl From<FramebufferRestorePolicy> for c_int[src]

impl From<i32> for FramebufferRestorePolicy[src]

impl PartialEq<FramebufferRestorePolicy> for FramebufferRestorePolicy[src]

impl StructuralEq for FramebufferRestorePolicy[src]

impl StructuralPartialEq for FramebufferRestorePolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.