Package panamagl.opengl
Interface GLContext
- All Known Implementing Classes:
AGLContext
public interface GLContext
A
GLContext is responsible for establishing an OpenGL context with the OS
libraries, allowing to then invoke OpenGL methods.
The actual context will depend on OS resolution and available implementations.
Each OS requires dedicated libraries able to initiate a context
- Linux : GLX, ?
- macOS : GLUT, CGL, ?
- Windows : GLUT, WGL, ?
- Author:
- Martin Pernollet
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinit()booleanvoidsetProfile(GLProfile profile)
-
Method Details
-
init
void init() -
destroy
void destroy() -
isInitialized
boolean isInitialized() -
getProfile
GLProfile getProfile() -
setProfile
-