Struct naga::EarlyDepthTest[][src]

pub struct EarlyDepthTest { /* fields omitted */ }

Early fragment tests. In a standard situation if a driver determines that it is possible to switch on early depth test it will. Typical situations when early depth test is switched off:

  • Calling discard in a shader.
  • Writing to the depth buffer, unless ConservativeDepth is enabled.

SPIR-V: ExecutionMode EarlyFragmentTests In GLSL: layout(early_fragment_tests) in; HLSL: Attribute earlydepthstencil

For more, see:

  • https://www.khronos.org/opengl/wiki/Early_Fragment_Test#Explicit_specification
  • https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/sm5-attributes-earlydepthstencil

Trait Implementations

impl Clone for EarlyDepthTest[src]

impl Copy for EarlyDepthTest[src]

impl Debug for EarlyDepthTest[src]

impl Eq for EarlyDepthTest[src]

impl Hash for EarlyDepthTest[src]

impl Ord for EarlyDepthTest[src]

impl PartialEq<EarlyDepthTest> for EarlyDepthTest[src]

impl PartialOrd<EarlyDepthTest> for EarlyDepthTest[src]

impl StructuralEq for EarlyDepthTest[src]

impl StructuralPartialEq for EarlyDepthTest[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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.