[−][src]Trait cocoa::appkit::NSOpenGLContext
Required methods
unsafe fn initWithFormat_shareContext_(self, format: id, shareContext: id) -> id
unsafe fn initWithCGLContextObj_(self, context: CGLContextObj) -> id
unsafe fn clearCurrentContext(_: Self)
unsafe fn currentContext(_: Self) -> id
unsafe fn makeCurrentContext(self)
unsafe fn setView_(self, view: id)
unsafe fn view(self) -> id
unsafe fn clearDrawable(self)
unsafe fn update(self)
unsafe fn flushBuffer(self)
unsafe fn setValues_forParameter_(
self,
vals: *const GLint,
param: NSOpenGLContextParameter
)
self,
vals: *const GLint,
param: NSOpenGLContextParameter
)
unsafe fn getValues_forParameter_(
self,
vals: *mut GLint,
param: NSOpenGLContextParameter
)
self,
vals: *mut GLint,
param: NSOpenGLContextParameter
)
unsafe fn setCurrentVirtualScreen_(self, screen: GLint)
unsafe fn currentVirtualScreen(self) -> GLint
unsafe fn CGLContextObj(self) -> CGLContextObj
Provided methods
Loading content...Implementors
impl NSOpenGLContext for id
[src]
unsafe fn initWithFormat_shareContext_(self, format: id, shareContext: id) -> id
[src]
unsafe fn initWithCGLContextObj_(self, context: CGLContextObj) -> id
[src]
unsafe fn clearCurrentContext(_: Self)
[src]
unsafe fn currentContext(_: Self) -> id
[src]
unsafe fn makeCurrentContext(self)
[src]
unsafe fn setView_(self, view: id)
[src]
unsafe fn view(self) -> id
[src]
unsafe fn clearDrawable(self)
[src]
unsafe fn update(self)
[src]
unsafe fn flushBuffer(self)
[src]
unsafe fn setValues_forParameter_(
self,
vals: *const GLint,
param: NSOpenGLContextParameter
)
[src]
self,
vals: *const GLint,
param: NSOpenGLContextParameter
)
unsafe fn getValues_forParameter_(
self,
vals: *mut GLint,
param: NSOpenGLContextParameter
)
[src]
self,
vals: *mut GLint,
param: NSOpenGLContextParameter
)