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 ofCompositorFrameTiming
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
m_flClientFrameIntervalMs()
Returns the value of them_flClientFrameIntervalMs
field.float
m_flCompositorIdleCpuMs()
Returns the value of them_flCompositorIdleCpuMs
field.float
m_flCompositorRenderCpuMs()
Returns the value of them_flCompositorRenderCpuMs
field.float
m_flCompositorRenderGpuMs()
Returns the value of them_flCompositorRenderGpuMs
field.float
m_flCompositorRenderStartMs()
Returns the value of them_flCompositorRenderStartMs
field.float
m_flCompositorUpdateEndMs()
Returns the value of them_flCompositorUpdateEndMs
field.float
m_flCompositorUpdateStartMs()
Returns the value of them_flCompositorUpdateStartMs
field.float
m_flNewFrameReadyMs()
Returns the value of them_flNewFrameReadyMs
field.float
m_flNewPosesReadyMs()
Returns the value of them_flNewPosesReadyMs
field.float
m_flPostSubmitGpuMs()
Returns the value of them_flPostSubmitGpuMs
field.float
m_flPresentCallCpuMs()
Returns the value of them_flPresentCallCpuMs
field.float
m_flPreSubmitGpuMs()
Returns the value of them_flPreSubmitGpuMs
field.float
m_flSubmitFrameMs()
Returns the value of them_flSubmitFrameMs
field.double
m_flSystemTimeInSeconds()
Returns the value of them_flSystemTimeInSeconds
field.float
m_flTotalRenderGpuMs()
Returns the value of them_flTotalRenderGpuMs
field.float
m_flWaitForPresentCpuMs()
Returns the value of them_flWaitForPresentCpuMs
field.float
m_flWaitGetPosesCalledMs()
Returns the value of them_flWaitGetPosesCalledMs
field.TrackedDevicePose
m_HmdPose()
Returns aTrackedDevicePose
view of them_HmdPose
field.int
m_nFrameIndex()
Returns the value of them_nFrameIndex
field.int
m_nNumDroppedFrames()
Returns the value of them_nNumDroppedFrames
field.int
m_nNumFramePresents()
Returns the value of them_nNumFramePresents
field.int
m_nNumMisPresented()
Returns the value of them_nNumMisPresented
field.int
m_nNumVSyncsReadyForUse()
Returns the value of them_nNumVSyncsReadyForUse
field.int
m_nNumVSyncsToFirstView()
Returns the value of them_nNumVSyncsToFirstView
field.int
m_nReprojectionFlags()
Returns the value of them_nReprojectionFlags
field.int
m_nSize()
Returns the value of them_nSize
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newCompositorFrameTiming.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 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 them_nSize
field.
-
m_nFrameIndex
public int m_nFrameIndex()
Returns the value of them_nFrameIndex
field.
-
m_nNumFramePresents
public int m_nNumFramePresents()
Returns the value of them_nNumFramePresents
field.
-
m_nNumMisPresented
public int m_nNumMisPresented()
Returns the value of them_nNumMisPresented
field.
-
m_nNumDroppedFrames
public int m_nNumDroppedFrames()
Returns the value of them_nNumDroppedFrames
field.
-
m_nReprojectionFlags
public int m_nReprojectionFlags()
Returns the value of them_nReprojectionFlags
field.
-
m_flSystemTimeInSeconds
public double m_flSystemTimeInSeconds()
Returns the value of them_flSystemTimeInSeconds
field.
-
m_flPreSubmitGpuMs
public float m_flPreSubmitGpuMs()
Returns the value of them_flPreSubmitGpuMs
field.
-
m_flPostSubmitGpuMs
public float m_flPostSubmitGpuMs()
Returns the value of them_flPostSubmitGpuMs
field.
-
m_flTotalRenderGpuMs
public float m_flTotalRenderGpuMs()
Returns the value of them_flTotalRenderGpuMs
field.
-
m_flCompositorRenderGpuMs
public float m_flCompositorRenderGpuMs()
Returns the value of them_flCompositorRenderGpuMs
field.
-
m_flCompositorRenderCpuMs
public float m_flCompositorRenderCpuMs()
Returns the value of them_flCompositorRenderCpuMs
field.
-
m_flCompositorIdleCpuMs
public float m_flCompositorIdleCpuMs()
Returns the value of them_flCompositorIdleCpuMs
field.
-
m_flClientFrameIntervalMs
public float m_flClientFrameIntervalMs()
Returns the value of them_flClientFrameIntervalMs
field.
-
m_flPresentCallCpuMs
public float m_flPresentCallCpuMs()
Returns the value of them_flPresentCallCpuMs
field.
-
m_flWaitForPresentCpuMs
public float m_flWaitForPresentCpuMs()
Returns the value of them_flWaitForPresentCpuMs
field.
-
m_flSubmitFrameMs
public float m_flSubmitFrameMs()
Returns the value of them_flSubmitFrameMs
field.
-
m_flWaitGetPosesCalledMs
public float m_flWaitGetPosesCalledMs()
Returns the value of them_flWaitGetPosesCalledMs
field.
-
m_flNewPosesReadyMs
public float m_flNewPosesReadyMs()
Returns the value of them_flNewPosesReadyMs
field.
-
m_flNewFrameReadyMs
public float m_flNewFrameReadyMs()
Returns the value of them_flNewFrameReadyMs
field.
-
m_flCompositorUpdateStartMs
public float m_flCompositorUpdateStartMs()
Returns the value of them_flCompositorUpdateStartMs
field.
-
m_flCompositorUpdateEndMs
public float m_flCompositorUpdateEndMs()
Returns the value of them_flCompositorUpdateEndMs
field.
-
m_flCompositorRenderStartMs
public float m_flCompositorRenderStartMs()
Returns the value of them_flCompositorRenderStartMs
field.
-
m_HmdPose
public TrackedDevicePose m_HmdPose()
Returns aTrackedDevicePose
view of them_HmdPose
field.
-
m_nNumVSyncsReadyForUse
public int m_nNumVSyncsReadyForUse()
Returns the value of them_nNumVSyncsReadyForUse
field.
-
m_nNumVSyncsToFirstView
public int m_nNumVSyncsToFirstView()
Returns the value of them_nNumVSyncsToFirstView
field.
-
-