|
||||||||||
| 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. |
| Constructor Summary | |
|---|---|
Query(Renderer renderer,
int target)
Creates a new query for the specified renderer. |
|
| Method Summary | |
|---|---|
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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Query(Renderer renderer,
int target)
| Method Detail |
|---|
public final int getId()
public final int getTarget()
public boolean isResultAvailable()
public int getResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||