Class TimerQuery
java.lang.Object
com.mojang.blaze3d.systems.TimerQuery
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable CommandEncoderprivate intprivate final GpuQueryPoolprivate final long[]private static final intprivate TimerQuery.Status -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ROTATIONS
private static final int ROTATIONS- See Also:
-
activeEncoder
-
queryPool
-
currentRotationIndex
private int currentRotationIndex -
status
-
results
private final long[] results
-
-
Constructor Details
-
TimerQuery
public TimerQuery()
-
-
Method Details
-
beginProfile
public void beginProfile() -
endProfile
public void endProfile() -
get
public long get() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getStatus
-