Package org.lwjgl.openxr
Class XrSecondaryViewConfigurationFrameStateMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSecondaryViewConfigurationFrameStateMSFT,XrSecondaryViewConfigurationFrameStateMSFT.Buffer>
-
- org.lwjgl.openxr.XrSecondaryViewConfigurationFrameStateMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSecondaryViewConfigurationFrameStateMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSecondaryViewConfigurationFrameStateMSFT
public static class XrSecondaryViewConfigurationFrameStateMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrSecondaryViewConfigurationFrameStateMSFT,XrSecondaryViewConfigurationFrameStateMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSecondaryViewConfigurationFrameStateMSFTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSecondaryViewConfigurationFrameStateMSFT.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 byXrSecondaryViewConfigurationFrameStateMSFT.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
-
type
public int type()
- Returns:
- the value of the
XrSecondaryViewConfigurationFrameStateMSFT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSecondaryViewConfigurationFrameStateMSFT.next()field.
-
viewConfigurationCount
public int viewConfigurationCount()
- Returns:
- the value of the
XrSecondaryViewConfigurationFrameStateMSFT.viewConfigurationCount()field.
-
viewConfigurationStates
public XrSecondaryViewConfigurationStateMSFT.Buffer viewConfigurationStates()
- Returns:
- a
XrSecondaryViewConfigurationStateMSFT.Bufferview of the struct array pointed to by theXrSecondaryViewConfigurationFrameStateMSFT.viewConfigurationStates()field.
-
type
public XrSecondaryViewConfigurationFrameStateMSFT.Buffer type(int value)
Sets the specified value to theXrSecondaryViewConfigurationFrameStateMSFT.type()field.
-
type$Default
public XrSecondaryViewConfigurationFrameStateMSFT.Buffer type$Default()
Sets theTYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_STATE_MSFTvalue to theXrSecondaryViewConfigurationFrameStateMSFT.type()field.
-
next
public XrSecondaryViewConfigurationFrameStateMSFT.Buffer next(long value)
Sets the specified value to theXrSecondaryViewConfigurationFrameStateMSFT.next()field.
-
viewConfigurationStates
public XrSecondaryViewConfigurationFrameStateMSFT.Buffer viewConfigurationStates(XrSecondaryViewConfigurationStateMSFT.Buffer value)
Sets the address of the specifiedXrSecondaryViewConfigurationStateMSFT.Bufferto theXrSecondaryViewConfigurationFrameStateMSFT.viewConfigurationStates()field.
-
-