enum DepthMode [src]
Fields
replacing = 12Declares that this entry point dynamically writes the
fragmentDepth built in-decorated variable.
greater = 14Indicates that per-fragment tests may assume that
any fragmentDepth built in-decorated value written by the shader is
greater-than-or-equal to the fragment’s interpolated depth value
less = 15Indicates that per-fragment tests may assume that
any fragmentDepth built in-decorated value written by the shader is
less-than-or-equal to the fragment’s interpolated depth value
unchanged = 16Indicates that per-fragment tests may assume that
any fragmentDepth built in-decorated value written by the shader is
the same as the fragment’s interpolated depth value
Source
pub const DepthMode = enum(u32) {
/// Declares that this entry point dynamically writes the
/// `fragmentDepth` built in-decorated variable.
replacing = 12,
/// Indicates that per-fragment tests may assume that
/// any `fragmentDepth` built in-decorated value written by the shader is
/// greater-than-or-equal to the fragment’s interpolated depth value
greater = 14,
/// Indicates that per-fragment tests may assume that
/// any `fragmentDepth` built in-decorated value written by the shader is
/// less-than-or-equal to the fragment’s interpolated depth value
less = 15,
/// Indicates that per-fragment tests may assume that
/// any `fragmentDepth` built in-decorated value written by the shader is
/// the same as the fragment’s interpolated depth value
unchanged = 16,
}