depth_function

Function depth_function 

Source
pub unsafe fn depth_function(func: DepthFunction)
Expand description

Sets the depth function used for depth buffer comparisons. The initial value is DepthFunction::Less.

ยงNotes

See OpenGL documentation.

Wraps ffi::glDepthFunc.