Codebase list lwjgl / upstream/2.5+dfsg src / java / org / lwjgl / opengl / DrawableLWJGL.java
upstream/2.5+dfsg

Tree @upstream/2.5+dfsg (Download .tar.gz)

DrawableLWJGL.java @upstream/2.5+dfsgraw · history · blame

package org.lwjgl.opengl;

import org.lwjgl.LWJGLException;

/**
 * @author Spasi
 */
interface DrawableLWJGL extends Drawable {

	/**
	 * [INTERNAL USE ONLY] Returns the Drawable's Context.
	 *
	 * @return the Drawable's Context
	 */
	Context getContext();

	/**
	 * [INTERNAL USE ONLY] Creates a new Context that is shared with the Drawable's Context.
	 *
	 * @return a Context shared with the Drawable's Context.
	 */
	Context createSharedContext() throws LWJGLException;

}