[][src]Struct qt_gui::q_opengl_texture::DepthStencilMode

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

This enum specifies which component of a depth/stencil texture is accessed when the texture is sampled.

C++ enum: QOpenGLTexture::DepthStencilMode.

C++ documentation:

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.

Methods

impl DepthStencilMode[src]

pub fn to_int(&self) -> c_int[src]

impl DepthStencilMode[src]

pub const DepthMode: DepthStencilMode[src]

Equivalent to GL_DEPTH_COMPONENT. (C++ enum variant: DepthMode = 6402)

pub const StencilMode: DepthStencilMode[src]

Equivalent to GL_STENCIL_INDEX. (C++ enum variant: StencilMode = 6401)

Trait Implementations

impl Clone for DepthStencilMode[src]

impl Copy for DepthStencilMode[src]

impl Debug for DepthStencilMode[src]

impl Eq for DepthStencilMode[src]

impl From<DepthStencilMode> for c_int[src]

impl From<i32> for DepthStencilMode[src]

impl PartialEq<DepthStencilMode> for DepthStencilMode[src]

impl StructuralEq for DepthStencilMode[src]

impl StructuralPartialEq for DepthStencilMode[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.