Class BGFXStats.Buffer
- Enclosing class:
BGFXStats
An array of
BGFXStats structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newBGFXStats.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglongintlonglonglonglonglongshortheight()intintnumBlit()intintnumDraw()shortshortshortshortshortshortnumPrims()intnumPrims(int index) shortshortshortshortshortshortshortnumViews()longshortlongshortintintlonglongshortwidth()Methods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class Pointer.Default
equals, hashCode
-
Constructor Details
-
Buffer
Creates a newBGFXStats.Bufferinstance 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.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
cpuTimeFrame
- Returns:
- the value of the
cpuTimeFramefield.
-
cpuTimeBegin
- Returns:
- the value of the
cpuTimeBeginfield.
-
cpuTimeEnd
- Returns:
- the value of the
cpuTimeEndfield.
-
cpuTimerFreq
- Returns:
- the value of the
cpuTimerFreqfield.
-
gpuTimeBegin
- Returns:
- the value of the
gpuTimeBeginfield.
-
gpuTimeEnd
- Returns:
- the value of the
gpuTimeEndfield.
-
gpuTimerFreq
- Returns:
- the value of the
gpuTimerFreqfield.
-
waitRender
- Returns:
- the value of the
waitRenderfield.
-
waitSubmit
- Returns:
- the value of the
waitSubmitfield.
-
numDraw
- Returns:
- the value of the
numDrawfield.
-
numCompute
- Returns:
- the value of the
numComputefield.
-
numBlit
- Returns:
- the value of the
numBlitfield.
-
maxGpuLatency
- Returns:
- the value of the
maxGpuLatencyfield.
-
gpuFrameNum
- Returns:
- the value of the
gpuFrameNumfield.
-
numDynamicIndexBuffers
- Returns:
- the value of the
numDynamicIndexBuffersfield.
-
numDynamicVertexBuffers
- Returns:
- the value of the
numDynamicVertexBuffersfield.
-
numFrameBuffers
- Returns:
- the value of the
numFrameBuffersfield.
-
numIndexBuffers
- Returns:
- the value of the
numIndexBuffersfield.
-
numOcclusionQueries
- Returns:
- the value of the
numOcclusionQueriesfield.
-
numPrograms
- Returns:
- the value of the
numProgramsfield.
-
numShaders
- Returns:
- the value of the
numShadersfield.
-
numTextures
- Returns:
- the value of the
numTexturesfield.
-
numUniforms
- Returns:
- the value of the
numUniformsfield.
-
numVertexBuffers
- Returns:
- the value of the
numVertexBuffersfield.
-
numVertexLayouts
- Returns:
- the value of the
numVertexLayoutsfield.
-
textureMemoryUsed
- Returns:
- the value of the
textureMemoryUsedfield.
-
rtMemoryUsed
- Returns:
- the value of the
rtMemoryUsedfield.
-
transientVbUsed
- Returns:
- the value of the
transientVbUsedfield.
-
transientIbUsed
- Returns:
- the value of the
transientIbUsedfield.
-
numPrims
- Returns:
- a
IntBufferview of thenumPrimsfield.
-
numPrims
- Returns:
- the value at the specified index of the
numPrimsfield.
-
gpuMemoryMax
- Returns:
- the value of the
gpuMemoryMaxfield.
-
gpuMemoryUsed
- Returns:
- the value of the
gpuMemoryUsedfield.
-
width
- Returns:
- the value of the
widthfield.
-
height
- Returns:
- the value of the
heightfield.
-
textWidth
- Returns:
- the value of the
textWidthfield.
-
textHeight
- Returns:
- the value of the
textHeightfield.
-
numViews
- Returns:
- the value of the
numViewsfield.
-
viewStats
- Returns:
- a
BGFXViewStats.Bufferview of the struct array pointed to by theviewStatsfield.
-
numEncoders
- Returns:
- the value of the
numEncodersfield.
-
encoderStats
- Returns:
- a
BGFXEncoderStats.Bufferview of the struct array pointed to by theencoderStatsfield.
-