[−][src]Struct qt_gui::q_opengl_framebuffer_object::Attachment
This enum type is used to configure the depth and stencil buffers attached to the framebuffer object when it is created.
C++ enum: QOpenGLFramebufferObject::Attachment
.
This enum type is used to configure the depth and stencil buffers attached to the framebuffer object when it is created.
See also attachment().
Methods
impl Attachment
[src]
impl Attachment
[src]
pub const NoAttachment: Attachment
[src]
No attachment is added to the framebuffer object. Note that the OpenGL depth and stencil tests won't work when rendering to a framebuffer object without any depth or stencil buffers. This is the default value. (C++ enum variant: NoAttachment = 0
)
pub const CombinedDepthStencil: Attachment
[src]
If the GL_EXT_packed_depth_stencil
extension is present, a combined depth and stencil buffer is attached. If the extension is not present, only a depth buffer is attached. (C++ enum variant: CombinedDepthStencil = 1
)
pub const Depth: Attachment
[src]
A depth buffer is attached to the framebuffer object. (C++ enum variant: Depth = 2
)
Trait Implementations
impl Clone for Attachment
[src]
fn clone(&self) -> Attachment
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Attachment
[src]
impl Debug for Attachment
[src]
impl Eq for Attachment
[src]
impl From<Attachment> for c_int
[src]
fn from(value: Attachment) -> Self
[src]
impl From<i32> for Attachment
[src]
impl PartialEq<Attachment> for Attachment
[src]
fn eq(&self, other: &Attachment) -> bool
[src]
fn ne(&self, other: &Attachment) -> bool
[src]
impl StructuralEq for Attachment
[src]
impl StructuralPartialEq for Attachment
[src]
Auto Trait Implementations
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnwindSafe for Attachment
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>,