pub trait NSOpenGLPixelFormat: Sized {
    // Required methods
    unsafe fn initWithAttributes_(self, attributes: &[u32]) -> id;
    unsafe fn getValues_forAttribute_forVirtualScreen_(
        self,
        val: *mut GLint,
        attrib: NSOpenGLPixelFormatAttribute,
        screen: GLint
    );
    unsafe fn numberOfVirtualScreens(self) -> GLint;

    // Provided method
    unsafe fn alloc(_: Self) -> id { ... }
}

Required Methods§

source

unsafe fn initWithAttributes_(self, attributes: &[u32]) -> id

source

unsafe fn getValues_forAttribute_forVirtualScreen_( self, val: *mut GLint, attrib: NSOpenGLPixelFormatAttribute, screen: GLint )

source

unsafe fn numberOfVirtualScreens(self) -> GLint

Provided Methods§

source

unsafe fn alloc(_: Self) -> id

Implementors§