[−][src]Struct grr::DepthStencil
Depth and stencil test and associated options.
Fields
depth_test: bool
Whether or not a depth test is applied to fragments.
depth_write: bool
Whether or not the depth buffer is written to.
depth_compare_op: Compare
Determines how depth values are compared for passing the depth tests.
stencil_test: bool
Whether or not a stencil test is applied to fragments.
stencil_front: StencilFace
Stencil options for front-facing polygons.
stencil_back: StencilFace
Stencil options for back-facing polygons.
Trait Implementations
impl Clone for DepthStencil
[src]
fn clone(&self) -> DepthStencil
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DepthStencil
[src]
impl Debug for DepthStencil
[src]
impl Default for DepthStencil
[src]
fn default() -> DepthStencil
[src]
By default in OpenGL, both and depth and stencil tests are disabled.
Auto Trait Implementations
impl RefUnwindSafe for DepthStencil
impl Send for DepthStencil
impl Sync for DepthStencil
impl Unpin for DepthStencil
impl UnwindSafe for DepthStencil
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,