Package org.lwjgl.openvr
Class CompositorFrameTiming.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<CompositorFrameTiming,CompositorFrameTiming.Buffer>
-
- org.lwjgl.openvr.CompositorFrameTiming.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<CompositorFrameTiming>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- CompositorFrameTiming
public static class CompositorFrameTiming.Buffer extends org.lwjgl.system.StructBuffer<CompositorFrameTiming,CompositorFrameTiming.Buffer> implements org.lwjgl.system.NativeResource
An array ofCompositorFrameTimingstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatm_flClientFrameIntervalMs()floatm_flCompositorIdleCpuMs()floatm_flCompositorRenderCpuMs()floatm_flCompositorRenderGpuMs()floatm_flCompositorRenderStartMs()floatm_flCompositorUpdateEndMs()floatm_flCompositorUpdateStartMs()floatm_flNewFrameReadyMs()floatm_flNewPosesReadyMs()floatm_flPostSubmitGpuMs()floatm_flPresentCallCpuMs()floatm_flPreSubmitGpuMs()floatm_flSubmitFrameMs()doublem_flSystemTimeInSeconds()floatm_flTotalRenderGpuMs()floatm_flWaitForPresentCpuMs()floatm_flWaitGetPosesCalledMs()TrackedDevicePosem_HmdPose()intm_nFrameIndex()intm_nNumDroppedFrames()intm_nNumFramePresents()intm_nNumMisPresented()intm_nNumVSyncsReadyForUse()intm_nNumVSyncsToFirstView()intm_nReprojectionFlags()intm_nSize()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newCompositorFrameTiming.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 byCompositorFrameTiming.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
CompositorFrameTiming.m_nSize()field.
-
m_nFrameIndex
public int m_nFrameIndex()
- Returns:
- the value of the
m_nFrameIndexfield.
-
m_nNumFramePresents
public int m_nNumFramePresents()
- Returns:
- the value of the
CompositorFrameTiming.m_nNumFramePresents()field.
-
m_nNumMisPresented
public int m_nNumMisPresented()
- Returns:
- the value of the
CompositorFrameTiming.m_nNumMisPresented()field.
-
m_nNumDroppedFrames
public int m_nNumDroppedFrames()
- Returns:
- the value of the
CompositorFrameTiming.m_nNumDroppedFrames()field.
-
m_nReprojectionFlags
public int m_nReprojectionFlags()
- Returns:
- the value of the
m_nReprojectionFlagsfield.
-
m_flSystemTimeInSeconds
public double m_flSystemTimeInSeconds()
- Returns:
- the value of the
CompositorFrameTiming.m_flSystemTimeInSeconds()field.
-
m_flPreSubmitGpuMs
public float m_flPreSubmitGpuMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flPreSubmitGpuMs()field.
-
m_flPostSubmitGpuMs
public float m_flPostSubmitGpuMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flPostSubmitGpuMs()field.
-
m_flTotalRenderGpuMs
public float m_flTotalRenderGpuMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flTotalRenderGpuMs()field.
-
m_flCompositorRenderGpuMs
public float m_flCompositorRenderGpuMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flCompositorRenderGpuMs()field.
-
m_flCompositorRenderCpuMs
public float m_flCompositorRenderCpuMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flCompositorRenderCpuMs()field.
-
m_flCompositorIdleCpuMs
public float m_flCompositorIdleCpuMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flCompositorIdleCpuMs()field.
-
m_flClientFrameIntervalMs
public float m_flClientFrameIntervalMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flClientFrameIntervalMs()field.
-
m_flPresentCallCpuMs
public float m_flPresentCallCpuMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flPresentCallCpuMs()field.
-
m_flWaitForPresentCpuMs
public float m_flWaitForPresentCpuMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flWaitForPresentCpuMs()field.
-
m_flSubmitFrameMs
public float m_flSubmitFrameMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flSubmitFrameMs()field.
-
m_flWaitGetPosesCalledMs
public float m_flWaitGetPosesCalledMs()
- Returns:
- the value of the
m_flWaitGetPosesCalledMsfield.
-
m_flNewPosesReadyMs
public float m_flNewPosesReadyMs()
- Returns:
- the value of the
m_flNewPosesReadyMsfield.
-
m_flNewFrameReadyMs
public float m_flNewFrameReadyMs()
- Returns:
- the value of the
CompositorFrameTiming.m_flNewFrameReadyMs()field.
-
m_flCompositorUpdateStartMs
public float m_flCompositorUpdateStartMs()
- Returns:
- the value of the
m_flCompositorUpdateStartMsfield.
-
m_flCompositorUpdateEndMs
public float m_flCompositorUpdateEndMs()
- Returns:
- the value of the
m_flCompositorUpdateEndMsfield.
-
m_flCompositorRenderStartMs
public float m_flCompositorRenderStartMs()
- Returns:
- the value of the
m_flCompositorRenderStartMsfield.
-
m_HmdPose
public TrackedDevicePose m_HmdPose()
- Returns:
- a
TrackedDevicePoseview of theCompositorFrameTiming.m_HmdPose()field.
-
m_nNumVSyncsReadyForUse
public int m_nNumVSyncsReadyForUse()
- Returns:
- the value of the
m_nNumVSyncsReadyForUsefield.
-
m_nNumVSyncsToFirstView
public int m_nNumVSyncsToFirstView()
- Returns:
- the value of the
m_nNumVSyncsToFirstViewfield.
-
-