public interface JCGLContextUsableType
Modifier and Type | Method and Description |
---|---|
JCGLInterfaceGL33Type |
contextGetGL33() |
JCGLImplementationType |
contextGetImplementation() |
String |
contextGetName() |
List<JCGLContextUsableType> |
contextGetShares() |
boolean |
contextIsCurrent() |
boolean |
contextIsSharedWith(JCGLContextUsableType c) |
void |
contextMakeCurrent()
Make this context current on the current thread.
|
void |
contextReleaseCurrent()
Release this context on the current thread.
|
String contextGetName()
List<JCGLContextUsableType> contextGetShares()
boolean contextIsSharedWith(JCGLContextUsableType c)
c
- The contexttrue
iff c
is shared with this contextboolean contextIsCurrent()
true
iff the current context is currentcontextMakeCurrent()
void contextMakeCurrent() throws JCGLExceptionContextIsCurrent
JCGLExceptionContextIsCurrent
- If a context (including this one) is
already current on this threadvoid contextReleaseCurrent() throws JCGLExceptionContextNotCurrent
JCGLExceptionContextNotCurrent
- If the context is not current on any
threadJCGLInterfaceGL33Type contextGetGL33()
JCGLImplementationType contextGetImplementation()
Copyright © 2017 <code@io7m.com> http://io7m.com