public static class BGFXStats.Buffer extends org.lwjgl.system.StructBuffer<BGFXStats,BGFXStats.Buffer>
BGFXStats structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
BGFXStats.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
cpuTimeBegin()
Returns the value of the
cpuTimeBegin field. |
long |
cpuTimeEnd()
Returns the value of the
cpuTimeEnd field. |
long |
cpuTimeFrame()
Returns the value of the
cpuTimeFrame field. |
long |
cpuTimerFreq()
Returns the value of the
cpuTimerFreq field. |
BGFXEncoderStats.Buffer |
encoderStats()
Returns a
BGFXEncoderStats.Buffer view of the struct array pointed to by the encoderStats field. |
long |
gpuMemoryMax()
Returns the value of the
gpuMemoryMax field. |
long |
gpuMemoryUsed()
Returns the value of the
gpuMemoryUsed field. |
long |
gpuTimeBegin()
Returns the value of the
gpuTimeBegin field. |
long |
gpuTimeEnd()
Returns the value of the
gpuTimeEnd field. |
long |
gpuTimerFreq()
Returns the value of the
gpuTimerFreq field. |
short |
height()
Returns the value of the
height field. |
int |
maxGpuLatency()
Returns the value of the
maxGpuLatency field. |
int |
numBlit()
Returns the value of the
numBlit field. |
int |
numCompute()
Returns the value of the
numCompute field. |
int |
numDraw()
Returns the value of the
numDraw field. |
short |
numDynamicIndexBuffers()
Returns the value of the
numDynamicIndexBuffers field. |
short |
numDynamicVertexBuffers()
Returns the value of the
numDynamicVertexBuffers field. |
short |
numEncoders()
Returns the value of the
numEncoders field. |
short |
numFrameBuffers()
Returns the value of the
numFrameBuffers field. |
short |
numIndexBuffers()
Returns the value of the
numIndexBuffers field. |
short |
numOcclusionQueries()
Returns the value of the
numOcclusionQueries field. |
java.nio.IntBuffer |
numPrims()
Returns a
IntBuffer view of the numPrims field. |
int |
numPrims(int index)
Returns the value at the specified index of the
numPrims field. |
short |
numPrograms()
Returns the value of the
numPrograms field. |
short |
numShaders()
Returns the value of the
numShaders field. |
short |
numTextures()
Returns the value of the
numTextures field. |
short |
numUniforms()
Returns the value of the
numUniforms field. |
short |
numVertexBuffers()
Returns the value of the
numVertexBuffers field. |
short |
numVertexLayouts()
Returns the value of the
numVertexLayouts field. |
short |
numViews()
Returns the value of the
numViews field. |
long |
rtMemoryUsed()
Returns the value of the
rtMemoryUsed field. |
short |
textHeight()
Returns the value of the
textHeight field. |
long |
textureMemoryUsed()
Returns the value of the
textureMemoryUsed field. |
short |
textWidth()
Returns the value of the
textWidth field. |
int |
transientIbUsed()
Returns the value of the
transientIbUsed field. |
int |
transientVbUsed()
Returns the value of the
transientVbUsed field. |
BGFXViewStats.Buffer |
viewStats()
Returns a
BGFXViewStats.Buffer view of the struct array pointed to by the viewStats field. |
long |
waitRender()
Returns the value of the
waitRender field. |
long |
waitSubmit()
Returns the value of the
waitSubmit field. |
short |
width()
Returns the value of the
width field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
BGFXStats.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by BGFXStats.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public long cpuTimeFrame()
cpuTimeFrame field.public long cpuTimeBegin()
cpuTimeBegin field.public long cpuTimeEnd()
cpuTimeEnd field.public long cpuTimerFreq()
cpuTimerFreq field.public long gpuTimeBegin()
gpuTimeBegin field.public long gpuTimeEnd()
gpuTimeEnd field.public long gpuTimerFreq()
gpuTimerFreq field.public long waitRender()
waitRender field.public long waitSubmit()
waitSubmit field.public int numDraw()
numDraw field.public int numCompute()
numCompute field.public int numBlit()
numBlit field.public int maxGpuLatency()
maxGpuLatency field.public short numDynamicIndexBuffers()
numDynamicIndexBuffers field.public short numDynamicVertexBuffers()
numDynamicVertexBuffers field.public short numFrameBuffers()
numFrameBuffers field.public short numIndexBuffers()
numIndexBuffers field.public short numOcclusionQueries()
numOcclusionQueries field.public short numPrograms()
numPrograms field.public short numShaders()
numShaders field.public short numTextures()
numTextures field.public short numUniforms()
numUniforms field.public short numVertexBuffers()
numVertexBuffers field.public short numVertexLayouts()
numVertexLayouts field.public long textureMemoryUsed()
textureMemoryUsed field.public long rtMemoryUsed()
rtMemoryUsed field.public int transientVbUsed()
transientVbUsed field.public int transientIbUsed()
transientIbUsed field.public java.nio.IntBuffer numPrims()
IntBuffer view of the numPrims field.public int numPrims(int index)
numPrims field.public long gpuMemoryMax()
gpuMemoryMax field.public long gpuMemoryUsed()
gpuMemoryUsed field.public short width()
width field.public short height()
height field.public short textWidth()
textWidth field.public short textHeight()
textHeight field.public short numViews()
numViews field.public BGFXViewStats.Buffer viewStats()
BGFXViewStats.Buffer view of the struct array pointed to by the viewStats field.public short numEncoders()
numEncoders field.public BGFXEncoderStats.Buffer encoderStats()
BGFXEncoderStats.Buffer view of the struct array pointed to by the encoderStats field.Copyright LWJGL. All Rights Reserved. License terms.