|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.opengl.renderer.Query
public abstract class Query
An OpenGL occlusion query object.
| Nested Class Summary | |
|---|---|
static class |
Query.SamplesPassed
Queries the number of samples passed. |
| Field Summary | |
|---|---|
protected int |
_id
The OpenGL identifier for this query. |
protected Renderer |
_renderer
The renderer responsible for this query. |
protected IntBuffer |
_result
Stores results. |
protected int |
_target
The query target. |
| Constructor Summary | |
|---|---|
Query(Renderer renderer,
int target)
Creates a new query for the specified renderer. |
|
| Method Summary | |
|---|---|
protected void |
finalize()
|
int |
getId()
Returns this query's OpenGL identifier. |
int |
getResult()
Retrieves and returns the result of this query. |
int |
getTarget()
Returns the query's target. |
boolean |
isResultAvailable()
Determines whether the result of the query would be available without blocking. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Renderer _renderer
protected int _id
protected int _target
protected IntBuffer _result
| Constructor Detail |
|---|
public Query(Renderer renderer,
int target)
| Method Detail |
|---|
public final int getId()
public final int getTarget()
public boolean isResultAvailable()
public int getResult()
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||