gl:make-opengl

(gl:make-opengl [multisample] [pixel-format])


Description:

Make and return an opengl context.  This call does not open an opengl window.  You can do this using gl:open-opengl


Arguments:

    multisample -- A boolean value indicating if the opengl context try to multisample? by default multisampling is off

   pixel-format -- You can specify a custom opengl format by sending a vector of intenger values as you would send to NSOpenGLPixelFormat. See the opengl example files for examples


Returns: boolean


Related:  


Examples:



Back to index