Package org.lwjgl.bgfx
Class BGFXStats.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<BGFXStats,BGFXStats.Buffer>
-
- org.lwjgl.bgfx.BGFXStats.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<BGFXStats>
,org.lwjgl.system.Pointer
- Enclosing class:
- BGFXStats
public static class BGFXStats.Buffer extends org.lwjgl.system.StructBuffer<BGFXStats,BGFXStats.Buffer>
An array ofBGFXStats
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
cpuTimeBegin()
Returns the value of thecpuTimeBegin
field.long
cpuTimeEnd()
Returns the value of thecpuTimeEnd
field.long
cpuTimeFrame()
Returns the value of thecpuTimeFrame
field.long
cpuTimerFreq()
Returns the value of thecpuTimerFreq
field.BGFXEncoderStats.Buffer
encoderStats()
Returns aBGFXEncoderStats.Buffer
view of the struct array pointed to by theencoderStats
field.long
gpuMemoryMax()
Returns the value of thegpuMemoryMax
field.long
gpuMemoryUsed()
Returns the value of thegpuMemoryUsed
field.long
gpuTimeBegin()
Returns the value of thegpuTimeBegin
field.long
gpuTimeEnd()
Returns the value of thegpuTimeEnd
field.long
gpuTimerFreq()
Returns the value of thegpuTimerFreq
field.short
height()
Returns the value of theheight
field.int
maxGpuLatency()
Returns the value of themaxGpuLatency
field.int
numBlit()
Returns the value of thenumBlit
field.int
numCompute()
Returns the value of thenumCompute
field.int
numDraw()
Returns the value of thenumDraw
field.short
numDynamicIndexBuffers()
Returns the value of thenumDynamicIndexBuffers
field.short
numDynamicVertexBuffers()
Returns the value of thenumDynamicVertexBuffers
field.short
numEncoders()
Returns the value of thenumEncoders
field.short
numFrameBuffers()
Returns the value of thenumFrameBuffers
field.short
numIndexBuffers()
Returns the value of thenumIndexBuffers
field.short
numOcclusionQueries()
Returns the value of thenumOcclusionQueries
field.java.nio.IntBuffer
numPrims()
Returns aIntBuffer
view of thenumPrims
field.int
numPrims(int index)
Returns the value at the specified index of thenumPrims
field.short
numPrograms()
Returns the value of thenumPrograms
field.short
numShaders()
Returns the value of thenumShaders
field.short
numTextures()
Returns the value of thenumTextures
field.short
numUniforms()
Returns the value of thenumUniforms
field.short
numVertexBuffers()
Returns the value of thenumVertexBuffers
field.short
numVertexLayouts()
Returns the value of thenumVertexLayouts
field.short
numViews()
Returns the value of thenumViews
field.long
rtMemoryUsed()
Returns the value of thertMemoryUsed
field.short
textHeight()
Returns the value of thetextHeight
field.long
textureMemoryUsed()
Returns the value of thetextureMemoryUsed
field.short
textWidth()
Returns the value of thetextWidth
field.int
transientIbUsed()
Returns the value of thetransientIbUsed
field.int
transientVbUsed()
Returns the value of thetransientVbUsed
field.BGFXViewStats.Buffer
viewStats()
Returns aBGFXViewStats.Buffer
view of the struct array pointed to by theviewStats
field.long
waitRender()
Returns the value of thewaitRender
field.long
waitSubmit()
Returns the value of thewaitSubmit
field.short
width()
Returns the value of thewidth
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newBGFXStats.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 byBGFXStats.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
cpuTimeFrame
public long cpuTimeFrame()
Returns the value of thecpuTimeFrame
field.
-
cpuTimeBegin
public long cpuTimeBegin()
Returns the value of thecpuTimeBegin
field.
-
cpuTimeEnd
public long cpuTimeEnd()
Returns the value of thecpuTimeEnd
field.
-
cpuTimerFreq
public long cpuTimerFreq()
Returns the value of thecpuTimerFreq
field.
-
gpuTimeBegin
public long gpuTimeBegin()
Returns the value of thegpuTimeBegin
field.
-
gpuTimeEnd
public long gpuTimeEnd()
Returns the value of thegpuTimeEnd
field.
-
gpuTimerFreq
public long gpuTimerFreq()
Returns the value of thegpuTimerFreq
field.
-
waitRender
public long waitRender()
Returns the value of thewaitRender
field.
-
waitSubmit
public long waitSubmit()
Returns the value of thewaitSubmit
field.
-
numDraw
public int numDraw()
Returns the value of thenumDraw
field.
-
numCompute
public int numCompute()
Returns the value of thenumCompute
field.
-
numBlit
public int numBlit()
Returns the value of thenumBlit
field.
-
maxGpuLatency
public int maxGpuLatency()
Returns the value of themaxGpuLatency
field.
-
numDynamicIndexBuffers
public short numDynamicIndexBuffers()
Returns the value of thenumDynamicIndexBuffers
field.
-
numDynamicVertexBuffers
public short numDynamicVertexBuffers()
Returns the value of thenumDynamicVertexBuffers
field.
-
numFrameBuffers
public short numFrameBuffers()
Returns the value of thenumFrameBuffers
field.
-
numIndexBuffers
public short numIndexBuffers()
Returns the value of thenumIndexBuffers
field.
-
numOcclusionQueries
public short numOcclusionQueries()
Returns the value of thenumOcclusionQueries
field.
-
numPrograms
public short numPrograms()
Returns the value of thenumPrograms
field.
-
numShaders
public short numShaders()
Returns the value of thenumShaders
field.
-
numTextures
public short numTextures()
Returns the value of thenumTextures
field.
-
numUniforms
public short numUniforms()
Returns the value of thenumUniforms
field.
-
numVertexBuffers
public short numVertexBuffers()
Returns the value of thenumVertexBuffers
field.
-
numVertexLayouts
public short numVertexLayouts()
Returns the value of thenumVertexLayouts
field.
-
textureMemoryUsed
public long textureMemoryUsed()
Returns the value of thetextureMemoryUsed
field.
-
rtMemoryUsed
public long rtMemoryUsed()
Returns the value of thertMemoryUsed
field.
-
transientVbUsed
public int transientVbUsed()
Returns the value of thetransientVbUsed
field.
-
transientIbUsed
public int transientIbUsed()
Returns the value of thetransientIbUsed
field.
-
numPrims
public java.nio.IntBuffer numPrims()
Returns aIntBuffer
view of thenumPrims
field.
-
numPrims
public int numPrims(int index)
Returns the value at the specified index of thenumPrims
field.
-
gpuMemoryMax
public long gpuMemoryMax()
Returns the value of thegpuMemoryMax
field.
-
gpuMemoryUsed
public long gpuMemoryUsed()
Returns the value of thegpuMemoryUsed
field.
-
width
public short width()
Returns the value of thewidth
field.
-
height
public short height()
Returns the value of theheight
field.
-
textWidth
public short textWidth()
Returns the value of thetextWidth
field.
-
textHeight
public short textHeight()
Returns the value of thetextHeight
field.
-
numViews
public short numViews()
Returns the value of thenumViews
field.
-
viewStats
public BGFXViewStats.Buffer viewStats()
Returns aBGFXViewStats.Buffer
view of the struct array pointed to by theviewStats
field.
-
numEncoders
public short numEncoders()
Returns the value of thenumEncoders
field.
-
encoderStats
public BGFXEncoderStats.Buffer encoderStats()
Returns aBGFXEncoderStats.Buffer
view of the struct array pointed to by theencoderStats
field.
-
-