Class CompositorFrameTiming.Buffer

    • Constructor Detail

      • Buffer

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

      • m_nSize

        public int m_nSize()
        Returns the value of the m_nSize field.
      • m_nFrameIndex

        public int m_nFrameIndex()
        Returns the value of the m_nFrameIndex field.
      • m_nNumFramePresents

        public int m_nNumFramePresents()
        Returns the value of the m_nNumFramePresents field.
      • m_nNumMisPresented

        public int m_nNumMisPresented()
        Returns the value of the m_nNumMisPresented field.
      • m_nNumDroppedFrames

        public int m_nNumDroppedFrames()
        Returns the value of the m_nNumDroppedFrames field.
      • m_nReprojectionFlags

        public int m_nReprojectionFlags()
        Returns the value of the m_nReprojectionFlags field.
      • m_flSystemTimeInSeconds

        public double m_flSystemTimeInSeconds()
        Returns the value of the m_flSystemTimeInSeconds field.
      • m_flPreSubmitGpuMs

        public float m_flPreSubmitGpuMs()
        Returns the value of the m_flPreSubmitGpuMs field.
      • m_flPostSubmitGpuMs

        public float m_flPostSubmitGpuMs()
        Returns the value of the m_flPostSubmitGpuMs field.
      • m_flTotalRenderGpuMs

        public float m_flTotalRenderGpuMs()
        Returns the value of the m_flTotalRenderGpuMs field.
      • m_flCompositorRenderGpuMs

        public float m_flCompositorRenderGpuMs()
        Returns the value of the m_flCompositorRenderGpuMs field.
      • m_flCompositorRenderCpuMs

        public float m_flCompositorRenderCpuMs()
        Returns the value of the m_flCompositorRenderCpuMs field.
      • m_flCompositorIdleCpuMs

        public float m_flCompositorIdleCpuMs()
        Returns the value of the m_flCompositorIdleCpuMs field.
      • m_flClientFrameIntervalMs

        public float m_flClientFrameIntervalMs()
        Returns the value of the m_flClientFrameIntervalMs field.
      • m_flPresentCallCpuMs

        public float m_flPresentCallCpuMs()
        Returns the value of the m_flPresentCallCpuMs field.
      • m_flWaitForPresentCpuMs

        public float m_flWaitForPresentCpuMs()
        Returns the value of the m_flWaitForPresentCpuMs field.
      • m_flSubmitFrameMs

        public float m_flSubmitFrameMs()
        Returns the value of the m_flSubmitFrameMs field.
      • m_flWaitGetPosesCalledMs

        public float m_flWaitGetPosesCalledMs()
        Returns the value of the m_flWaitGetPosesCalledMs field.
      • m_flNewPosesReadyMs

        public float m_flNewPosesReadyMs()
        Returns the value of the m_flNewPosesReadyMs field.
      • m_flNewFrameReadyMs

        public float m_flNewFrameReadyMs()
        Returns the value of the m_flNewFrameReadyMs field.
      • m_flCompositorUpdateStartMs

        public float m_flCompositorUpdateStartMs()
        Returns the value of the m_flCompositorUpdateStartMs field.
      • m_flCompositorUpdateEndMs

        public float m_flCompositorUpdateEndMs()
        Returns the value of the m_flCompositorUpdateEndMs field.
      • m_flCompositorRenderStartMs

        public float m_flCompositorRenderStartMs()
        Returns the value of the m_flCompositorRenderStartMs field.