Package org.lwjgl.openxr
Class XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSecondaryViewConfigurationSessionBeginInfoMSFT,XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffer>
-
- org.lwjgl.openxr.XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSecondaryViewConfigurationSessionBeginInfoMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSecondaryViewConfigurationSessionBeginInfoMSFT
public static class XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrSecondaryViewConfigurationSessionBeginInfoMSFT,XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSecondaryViewConfigurationSessionBeginInfoMSFTstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.IntBufferenabledViewConfigurationTypes()XrSecondaryViewConfigurationSessionBeginInfoMSFT.BufferenabledViewConfigurationTypes(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto theXrSecondaryViewConfigurationSessionBeginInfoMSFT.enabledViewConfigurationTypes()field.longnext()XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffernext(long value)Sets the specified value to theXrSecondaryViewConfigurationSessionBeginInfoMSFT.next()field.inttype()XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffertype(int value)Sets the specified value to theXrSecondaryViewConfigurationSessionBeginInfoMSFT.type()field.XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffertype$Default()Sets theTYPE_SECONDARY_VIEW_CONFIGURATION_SESSION_BEGIN_INFO_MSFTvalue to theXrSecondaryViewConfigurationSessionBeginInfoMSFT.type()field.intviewConfigurationCount()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSecondaryViewConfigurationSessionBeginInfoMSFT.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 byXrSecondaryViewConfigurationSessionBeginInfoMSFT.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
XrSecondaryViewConfigurationSessionBeginInfoMSFT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSecondaryViewConfigurationSessionBeginInfoMSFT.next()field.
-
viewConfigurationCount
public int viewConfigurationCount()
- Returns:
- the value of the
XrSecondaryViewConfigurationSessionBeginInfoMSFT.viewConfigurationCount()field.
-
enabledViewConfigurationTypes
public java.nio.IntBuffer enabledViewConfigurationTypes()
- Returns:
- a
IntBufferview of the data pointed to by theXrSecondaryViewConfigurationSessionBeginInfoMSFT.enabledViewConfigurationTypes()field.
-
type
public XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffer type(int value)
Sets the specified value to theXrSecondaryViewConfigurationSessionBeginInfoMSFT.type()field.
-
type$Default
public XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffer type$Default()
Sets theTYPE_SECONDARY_VIEW_CONFIGURATION_SESSION_BEGIN_INFO_MSFTvalue to theXrSecondaryViewConfigurationSessionBeginInfoMSFT.type()field.
-
next
public XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffer next(long value)
Sets the specified value to theXrSecondaryViewConfigurationSessionBeginInfoMSFT.next()field.
-
enabledViewConfigurationTypes
public XrSecondaryViewConfigurationSessionBeginInfoMSFT.Buffer enabledViewConfigurationTypes(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theXrSecondaryViewConfigurationSessionBeginInfoMSFT.enabledViewConfigurationTypes()field.
-
-