CGLChoosePixelFormat

Function CGLChoosePixelFormat 

Source
pub unsafe extern "C-unwind" fn CGLChoosePixelFormat(
    attribs: NonNull<CGLPixelFormatAttribute>,
    pix: NonNull<CGLPixelFormatObj>,
    npix: NonNull<i32>,
) -> CGLError
๐Ÿ‘ŽDeprecated: The OpenGL API is deprecated by Apple
Available on crate feature CGLTypes only.
Expand description

ยงSafety

  • attribs must be a valid pointer.
  • pix must be a valid pointer.
  • npix must be a valid pointer.