Enum glium::draw_parameters::DepthClamp
[−]
[src]
pub enum DepthClamp { NoClamp, Clamp, ClampNear, ClampFar, }
Specifies whether the depth value of samples should be clamped to 0.0
or 1.0
.
Variants
NoClamp | Do not clamp. Samples with values outside of the This is the default value and is supported everywhere. |
Clamp | Clamp the depth values. All samples will always be drawn. This value is only supported on OpenGL. |
ClampNear | Depth values inferior to This option is supported only by very few OpenGL devices. |
ClampFar | Depth values superior to This option is supported only by very few OpenGL devices. |