GPUQuerySet
public final class GPUQuerySet implements AutoCloseable
A set of GPU query objects used to record performance or visibility information.
Summary
Public methods |
|
|---|---|
external void |
close() |
final int |
count() |
final external void |
Immediately destroys the query set. |
boolean |
|
final external int |
Gets the total number of queries in the set. |
final long |
|
final external int |
Gets the type of query this set records (e.g., occlusion, timestamp). |
int |
hashCode() |
final external void |
@FastNativeSets a debug label for the query set. |
final int |
type() |
Public methods
destroy
Added in 1.0.0-alpha01
@FastNative
public final external void destroy()
Immediately destroys the query set.
getCount
Added in 1.0.0-alpha01
@FastNative
public final external int getCount()
Gets the total number of queries in the set.
| Returns | |
|---|---|
int |
The number of queries. |
getType
Added in 1.0.0-alpha01
@FastNative
public final external int getType()
Gets the type of query this set records (e.g., occlusion, timestamp).
| Returns | |
|---|---|
int |
The type of the queries in the set. |
setLabel
Added in 1.0.0-alpha01
@FastNative
public final external void setLabel(@NonNull String label)
Sets a debug label for the query set.