pub struct FramebufferRestorePolicy(/* private fields */);
Expand description
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().
Implementations§
Source§impl FramebufferRestorePolicy
impl FramebufferRestorePolicy
Sourcepub const DontRestoreFramebufferBinding: FramebufferRestorePolicy
pub const DontRestoreFramebufferBinding: FramebufferRestorePolicy
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
)
Sourcepub const RestoreFramebufferBindingToDefault: FramebufferRestorePolicy
pub const RestoreFramebufferBindingToDefault: FramebufferRestorePolicy
After the blit operation, bind the default framebuffer. (C++ enum variant: RestoreFramebufferBindingToDefault = 1
)
Sourcepub const RestoreFrameBufferBinding: FramebufferRestorePolicy
pub const RestoreFrameBufferBinding: FramebufferRestorePolicy
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§
Source§impl Clone for FramebufferRestorePolicy
impl Clone for FramebufferRestorePolicy
Source§fn clone(&self) -> FramebufferRestorePolicy
fn clone(&self) -> FramebufferRestorePolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more