[Mono-osx] [MonoMac] GLFullScreen sample
kjpou
kjpou at pt.lu
Sat Mar 5 13:33:25 EST 2011
Hello all
Here is an OpenGL sample from Apple that implements fullscreen and
window using an NSView.
This sample code demonstrates OpenGL drawing to the entire screen.
When in the window mode,
press the "Go FullScreen" button to switch to the full-screen mode;
When in the full-screen mode,
press [ESC] to switch to the window mode;
In both modes,
press [space] to toggle rotation of the globe;
press [w]/[W] to toggle wireframe rendering;
holding and dragging the mouse to change the roll angle and from
which the light is coming.
Kenneth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GLFullScreen.zip
Type: application/zip
Size: 183875 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20110305/2379a557/attachment-0001.zip
More information about the Mono-osx
mailing list