gl

Function set_cull_face_checked

source
pub fn set_cull_face_checked(face: CullFace) -> Result<()>
Expand description

Specifies which face to cull (front, back, or both), and checks for errors.

This is a convenience-wrapper around set_cull_face and [crate::gl::error::check].

ยงParameters

  • face - The face to cull