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:
AutoCloseable
,Iterable<CompositorFrameTiming>
,NativeResource
,Pointer
- Enclosing class:
CompositorFrameTiming
public static class CompositorFrameTiming.Buffer
extends StructBuffer<CompositorFrameTiming,CompositorFrameTiming.Buffer>
implements NativeResource
An array of
CompositorFrameTiming
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newCompositorFrameTiming.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
float
float
float
float
float
float
float
float
float
float
float
double
float
float
float
int
int
int
int
int
int
int
int
m_nSize()
Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 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 Details
-
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_nFrameIndex
field.
-
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_nReprojectionFlags
field.
-
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_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
CompositorFrameTiming.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.
-
m_HmdPose
- Returns:
- a
TrackedDevicePose
view of theCompositorFrameTiming.m_HmdPose()
field.
-
m_nNumVSyncsReadyForUse
public int m_nNumVSyncsReadyForUse()- Returns:
- the value of the
m_nNumVSyncsReadyForUse
field.
-
m_nNumVSyncsToFirstView
public int m_nNumVSyncsToFirstView()- Returns:
- the value of the
m_nNumVSyncsToFirstView
field.
-