Class OGLQuery
java.lang.Object
com.blackrook.gloop.opengl.OGLObject
com.blackrook.gloop.opengl.gl1.OGLQuery
An encapsulation of a query object for OpenGL.
- Author:
- Matthew Tropiano
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static int[]List of OpenGL object ids that were not deleted properly.protected static intAmount of OpenGL object ids that were not deleted properly. -
Method Summary
Methods inherited from class OGLObject
equals, equals, expand, expand, getLongName, getName, hashCode, isAllocated, setLongName, setName, toString
-
Field Details
-
UNDELETED_IDS
protected static int[] UNDELETED_IDSList of OpenGL object ids that were not deleted properly. -
UNDELETED_LENGTH
protected static int UNDELETED_LENGTHAmount of OpenGL object ids that were not deleted properly.
-
-
Method Details
-
free
-
destroyUndeleted
public static int destroyUndeleted()Destroys undeleted query objects abandoned from destroyed Java objects.This is automatically called by OGLSystem after every frame and should NEVER be called manually!
- Returns:
- the amount of objects deleted.
-
finalize
-