mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-05 08:19:56 +01:00
Cleaned up Drawable interface and introduced a reusable base implementation. Added support for disabling runtime function checks, buffer checks and state tracking. Activated with -Dorg.lwjgl.util.NoChecks=true
25 lines
499 B
Java
25 lines
499 B
Java
package org.lwjgl.opengl;
|
|
|
|
import org.lwjgl.LWJGLException;
|
|
|
|
/**
|
|
* @author Spasi
|
|
* @since 23 Áðñ 2010
|
|
*/
|
|
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;
|
|
|
|
} |