Top Description Methods
org.lwjgl.opengl

pack-priv Interface DrawableLWJGL

extends Drawable
Known Direct Implementers
org.lwjgl.opengl.AWTGLCanvas, org.lwjgl.opengl.DrawableGL, org.lwjgl.opengl.DrawableGLES
Imports
org.lwjgl.LWJGLException

[INTERNAL USE ONLY]
Author
Spasi

Method Summary

Modifier and TypeMethod and Description
public void
public Context

Returns:

a Context shared with the Drawable's Context.
createSharedContext
()

[INTERNAL USE ONLY] Creates a new Context that is shared with the Drawable's Context.

public Context

Returns:

the Drawable's Context
getContext
()

[INTERNAL USE ONLY] Returns the Drawable's Context.

public PixelFormatLWJGL
public void
initContext(final float r, final float g, final float b)

public void
public void
public void
setSwapInterval(int swap_interval)

public void
Inherited from org.lwjgl.opengl.Drawable:
destroyisCurrentmakeCurrentreleaseContextsetCLSharingProperties

Method Detail

checkGLErrorback to summary
public void checkGLError()
createSharedContextback to summary
public Context createSharedContext() throws LWJGLException

[INTERNAL USE ONLY] Creates a new Context that is shared with the Drawable's Context.

Returns:Context

a Context shared with the Drawable's Context.

getContextback to summary
public Context getContext()

[INTERNAL USE ONLY] Returns the Drawable's Context.

Returns:Context

the Drawable's Context

getPixelFormatback to summary
public PixelFormatLWJGL getPixelFormat()
initContextback to summary
public void initContext(final float r, final float g, final float b)
setPixelFormatback to summary
public void setPixelFormat(PixelFormatLWJGL pf) throws LWJGLException
setPixelFormatback to summary
public void setPixelFormat(PixelFormatLWJGL pf, ContextAttribs attribs) throws LWJGLException
setSwapIntervalback to summary
public void setSwapInterval(int swap_interval)
swapBuffersback to summary
public void swapBuffers() throws LWJGLException