Context implementation interface.
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| public void | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| create | back to summary |
|---|---|
| public ByteBuffer create(PeerInfo peer_info, IntBuffer attribs, ByteBuffer shared_context_handle) throws LWJGLException Create a context. | |
| destroy | back to summary |
|---|---|
| public void destroy(PeerInfo peer_info, ByteBuffer handle) throws LWJGLException Destroys the Context. | |
| isCurrent | back to summary |
|---|---|
| public boolean isCurrent(ByteBuffer handle) throws LWJGLException Query whether the context is current | |
| makeCurrent | back to summary |
|---|---|
| public void makeCurrent(PeerInfo peer_info, ByteBuffer handle) throws LWJGLException Query whether the context is current | |
| releaseCurrentContext | back to summary |
|---|---|
| public void releaseCurrentContext() throws LWJGLException Release the current context (if any). After this call, no context is current. | |
| releaseDrawable | back to summary |
|---|---|
| public void releaseDrawable(ByteBuffer context_handle) throws LWJGLException Release the context from its drawable, if any. | |
| setSwapInterval | back to summary |
|---|---|
| public void setSwapInterval(int value) | |
| swapBuffers | back to summary |
|---|---|
| public void swapBuffers() throws LWJGLException Swap the buffers of the current context. Only valid for double-buffered contexts. | |
| update | back to summary |
|---|---|
| public void update(ByteBuffer context_handle) Update the context. Should be called whenever it's drawable is moved or resized | |