Package org.lwjgl.openvr
Class DriverDirectModeFrameTiming.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<DriverDirectModeFrameTiming,DriverDirectModeFrameTiming.Buffer>
-
- org.lwjgl.openvr.DriverDirectModeFrameTiming.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<DriverDirectModeFrameTiming>
,org.lwjgl.system.Pointer
- Enclosing class:
- DriverDirectModeFrameTiming
public static class DriverDirectModeFrameTiming.Buffer extends org.lwjgl.system.StructBuffer<DriverDirectModeFrameTiming,DriverDirectModeFrameTiming.Buffer>
An array ofDriverDirectModeFrameTiming
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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_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 newDriverDirectModeFrameTiming.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 byDriverDirectModeFrameTiming.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_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.
-
-