Class GlQueryPool
java.lang.Object
com.mojang.blaze3d.opengl.GlQueryPool
- All Implemented Interfaces:
GpuQueryPool, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getValue(int index) getValues(int index, int count) intsize()protected voidwriteTimestamp(int index)
-
Field Details
-
handles
private final int[] handles -
closed
private boolean closed
-
-
Constructor Details
-
GlQueryPool
public GlQueryPool(int size)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceGpuQueryPool
-
getValue
- Specified by:
getValuein interfaceGpuQueryPool
-
getValues
- Specified by:
getValuesin interfaceGpuQueryPool
-
writeTimestamp
protected void writeTimestamp(int index) -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceGpuQueryPool
-