Struct qt_gui::q_opengl_texture::DepthStencilMode
source · pub struct DepthStencilMode(/* private fields */);
Expand description
This enum specifies which component of a depth/stencil texture is accessed when the texture is sampled.
C++ enum: QOpenGLTexture::DepthStencilMode
.
This enum specifies which component of a depth/stencil texture is accessed when the texture is sampled.
This enum was introduced or modified in Qt 5.4.
Implementations§
source§impl DepthStencilMode
impl DepthStencilMode
sourcepub const DepthMode: DepthStencilMode = _
pub const DepthMode: DepthStencilMode = _
Equivalent to GL_DEPTH_COMPONENT. (C++ enum variant: DepthMode = 6402
)
sourcepub const StencilMode: DepthStencilMode = _
pub const StencilMode: DepthStencilMode = _
Equivalent to GL_STENCIL_INDEX. (C++ enum variant: StencilMode = 6401
)
Trait Implementations§
source§impl Clone for DepthStencilMode
impl Clone for DepthStencilMode
source§fn clone(&self) -> DepthStencilMode
fn clone(&self) -> DepthStencilMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DepthStencilMode
impl Debug for DepthStencilMode
source§impl From<DepthStencilMode> for c_int
impl From<DepthStencilMode> for c_int
source§fn from(value: DepthStencilMode) -> Self
fn from(value: DepthStencilMode) -> Self
Converts to this type from the input type.
source§impl From<i32> for DepthStencilMode
impl From<i32> for DepthStencilMode
source§impl PartialEq for DepthStencilMode
impl PartialEq for DepthStencilMode
source§fn eq(&self, other: &DepthStencilMode) -> bool
fn eq(&self, other: &DepthStencilMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DepthStencilMode
impl Eq for DepthStencilMode
impl StructuralEq for DepthStencilMode
impl StructuralPartialEq for DepthStencilMode
Auto Trait Implementations§
impl RefUnwindSafe for DepthStencilMode
impl Send for DepthStencilMode
impl Sync for DepthStencilMode
impl Unpin for DepthStencilMode
impl UnwindSafe for DepthStencilMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more