Class BGFXStats.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new 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.

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • cpuTimeFrame

        public long cpuTimeFrame()
        Returns the value of the cpuTimeFrame field.
      • cpuTimeBegin

        public long cpuTimeBegin()
        Returns the value of the cpuTimeBegin field.
      • cpuTimeEnd

        public long cpuTimeEnd()
        Returns the value of the cpuTimeEnd field.
      • cpuTimerFreq

        public long cpuTimerFreq()
        Returns the value of the cpuTimerFreq field.
      • gpuTimeBegin

        public long gpuTimeBegin()
        Returns the value of the gpuTimeBegin field.
      • gpuTimeEnd

        public long gpuTimeEnd()
        Returns the value of the gpuTimeEnd field.
      • gpuTimerFreq

        public long gpuTimerFreq()
        Returns the value of the gpuTimerFreq field.
      • waitRender

        public long waitRender()
        Returns the value of the waitRender field.
      • waitSubmit

        public long waitSubmit()
        Returns the value of the waitSubmit field.
      • numDraw

        public int numDraw()
        Returns the value of the numDraw field.
      • numCompute

        public int numCompute()
        Returns the value of the numCompute field.
      • maxGpuLatency

        public int maxGpuLatency()
        Returns the value of the maxGpuLatency field.
      • numDynamicIndexBuffers

        public short numDynamicIndexBuffers()
        Returns the value of the numDynamicIndexBuffers field.
      • numDynamicVertexBuffers

        public short numDynamicVertexBuffers()
        Returns the value of the numDynamicVertexBuffers field.
      • numFrameBuffers

        public short numFrameBuffers()
        Returns the value of the numFrameBuffers field.
      • numIndexBuffers

        public short numIndexBuffers()
        Returns the value of the numIndexBuffers field.
      • numOcclusionQueries

        public short numOcclusionQueries()
        Returns the value of the numOcclusionQueries field.
      • numPrograms

        public short numPrograms()
        Returns the value of the numPrograms field.
      • numShaders

        public short numShaders()
        Returns the value of the numShaders field.
      • numTextures

        public short numTextures()
        Returns the value of the numTextures field.
      • numUniforms

        public short numUniforms()
        Returns the value of the numUniforms field.
      • numVertexBuffers

        public short numVertexBuffers()
        Returns the value of the numVertexBuffers field.
      • numVertexDecls

        public short numVertexDecls()
        Returns the value of the numVertexDecls field.
      • textureMemoryUsed

        public long textureMemoryUsed()
        Returns the value of the textureMemoryUsed field.
      • rtMemoryUsed

        public long rtMemoryUsed()
        Returns the value of the rtMemoryUsed field.
      • transientVbUsed

        public int transientVbUsed()
        Returns the value of the transientVbUsed field.
      • transientIbUsed

        public int transientIbUsed()
        Returns the value of the transientIbUsed field.
      • numPrims

        public java.nio.IntBuffer numPrims()
        Returns a IntBuffer view of the numPrims field.
      • numPrims

        public int numPrims​(int index)
        Returns the value at the specified index of the numPrims field.
      • gpuMemoryMax

        public long gpuMemoryMax()
        Returns the value of the gpuMemoryMax field.
      • gpuMemoryUsed

        public long gpuMemoryUsed()
        Returns the value of the gpuMemoryUsed field.
      • width

        public short width()
        Returns the value of the width field.
      • height

        public short height()
        Returns the value of the height field.
      • textWidth

        public short textWidth()
        Returns the value of the textWidth field.
      • textHeight

        public short textHeight()
        Returns the value of the textHeight field.
      • numViews

        public short numViews()
        Returns the value of the numViews field.
      • numEncoder

        public short numEncoder()
        Returns the value of the numEncoder field.