Package org.lwjgl.ovr
Class OVRPerfStatsPerCompositorFrame.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRPerfStatsPerCompositorFrame,OVRPerfStatsPerCompositorFrame.Buffer>
-
- org.lwjgl.ovr.OVRPerfStatsPerCompositorFrame.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<OVRPerfStatsPerCompositorFrame>
,org.lwjgl.system.Pointer
- Enclosing class:
- OVRPerfStatsPerCompositorFrame
public static class OVRPerfStatsPerCompositorFrame.Buffer extends org.lwjgl.system.StructBuffer<OVRPerfStatsPerCompositorFrame,OVRPerfStatsPerCompositorFrame.Buffer>
An array ofOVRPerfStatsPerCompositorFrame
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
AppCpuElapsedTime()
Returns the value of theAppCpuElapsedTime
field.int
AppDroppedFrameCount()
Returns the value of theAppDroppedFrameCount
field.int
AppFrameIndex()
Returns the value of theAppFrameIndex
field.float
AppGpuElapsedTime()
Returns the value of theAppGpuElapsedTime
field.float
AppMotionToPhotonLatency()
Returns the value of theAppMotionToPhotonLatency
field.float
AppQueueAheadTime()
Returns the value of theAppQueueAheadTime
field.int
AswActivatedToggleCount()
Returns the value of theAswActivatedToggleCount
field.int
AswFailedFrameCount()
Returns the value of theAswFailedFrameCount
field.boolean
AswIsActive()
Returns the value of theAswIsActive
field.int
AswPresentedFrameCount()
Returns the value of theAswPresentedFrameCount
field.float
CompositorCpuElapsedTime()
Returns the value of theCompositorCpuElapsedTime
field.float
CompositorCpuStartToGpuEndElapsedTime()
Returns the value of theCompositorCpuStartToGpuEndElapsedTime
field.int
CompositorDroppedFrameCount()
Returns the value of theCompositorDroppedFrameCount
field.int
CompositorFrameIndex()
Returns the value of theCompositorFrameIndex
field.float
CompositorGpuElapsedTime()
Returns the value of theCompositorGpuElapsedTime
field.float
CompositorGpuEndToVsyncElapsedTime()
Returns the value of theCompositorGpuEndToVsyncElapsedTime
field.float
CompositorLatency()
Returns the value of theCompositorLatency
field.int
HmdVsyncIndex()
Returns the value of theHmdVsyncIndex
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRPerfStatsPerCompositorFrame.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 byOVRPerfStatsPerCompositorFrame.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
-
HmdVsyncIndex
public int HmdVsyncIndex()
Returns the value of theHmdVsyncIndex
field.
-
AppFrameIndex
public int AppFrameIndex()
Returns the value of theAppFrameIndex
field.
-
AppDroppedFrameCount
public int AppDroppedFrameCount()
Returns the value of theAppDroppedFrameCount
field.
-
AppMotionToPhotonLatency
public float AppMotionToPhotonLatency()
Returns the value of theAppMotionToPhotonLatency
field.
-
AppQueueAheadTime
public float AppQueueAheadTime()
Returns the value of theAppQueueAheadTime
field.
-
AppCpuElapsedTime
public float AppCpuElapsedTime()
Returns the value of theAppCpuElapsedTime
field.
-
AppGpuElapsedTime
public float AppGpuElapsedTime()
Returns the value of theAppGpuElapsedTime
field.
-
CompositorFrameIndex
public int CompositorFrameIndex()
Returns the value of theCompositorFrameIndex
field.
-
CompositorDroppedFrameCount
public int CompositorDroppedFrameCount()
Returns the value of theCompositorDroppedFrameCount
field.
-
CompositorLatency
public float CompositorLatency()
Returns the value of theCompositorLatency
field.
-
CompositorCpuElapsedTime
public float CompositorCpuElapsedTime()
Returns the value of theCompositorCpuElapsedTime
field.
-
CompositorGpuElapsedTime
public float CompositorGpuElapsedTime()
Returns the value of theCompositorGpuElapsedTime
field.
-
CompositorCpuStartToGpuEndElapsedTime
public float CompositorCpuStartToGpuEndElapsedTime()
Returns the value of theCompositorCpuStartToGpuEndElapsedTime
field.
-
CompositorGpuEndToVsyncElapsedTime
public float CompositorGpuEndToVsyncElapsedTime()
Returns the value of theCompositorGpuEndToVsyncElapsedTime
field.
-
AswIsActive
public boolean AswIsActive()
Returns the value of theAswIsActive
field.
-
AswActivatedToggleCount
public int AswActivatedToggleCount()
Returns the value of theAswActivatedToggleCount
field.
-
AswPresentedFrameCount
public int AswPresentedFrameCount()
Returns the value of theAswPresentedFrameCount
field.
-
AswFailedFrameCount
public int AswFailedFrameCount()
Returns the value of theAswFailedFrameCount
field.
-
-