NAME
OpenGL::Sandbox::ContextShim::GLUT - Create OpenGL context with OpenGL's GLUT support
VERSION
version 0.120
DESCRIPTION
This class is loaded automatically if needed by "make_context" in OpenGL::Sandbox. It uses OpenGL's GLUT support to create an OpenGL context, but it bends the GLUT API in ways the authors didn't intend (to not steal the main loop) so it might not work correctly.
ATTRIBUTES
window
The GLUT window handle
METHODS
Standard ContextShim API:
- new
-
Accepting all the options of "make_context" in OpenGL::Sandbox
- context_info
- swap_buffers
AUTHOR
Michael Conrad <mike@nrdvana.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2019 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.