Package org.lwjgl.openxr
Class XrViewConfigurationProperties.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrViewConfigurationProperties,XrViewConfigurationProperties.Buffer>
-
- org.lwjgl.openxr.XrViewConfigurationProperties.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrViewConfigurationProperties>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrViewConfigurationProperties
public static class XrViewConfigurationProperties.Buffer extends org.lwjgl.system.StructBuffer<XrViewConfigurationProperties,XrViewConfigurationProperties.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrViewConfigurationPropertiesstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfovMutable()XrViewConfigurationProperties.BufferfovMutable(boolean value)Sets the specified value to theXrViewConfigurationProperties.fovMutable()field.longnext()XrViewConfigurationProperties.Buffernext(long value)Sets the specified value to theXrViewConfigurationProperties.next()field.inttype()XrViewConfigurationProperties.Buffertype(int value)Sets the specified value to theXrViewConfigurationProperties.type()field.XrViewConfigurationProperties.Buffertype$Default()Sets theTYPE_VIEW_CONFIGURATION_PROPERTIESvalue to theXrViewConfigurationProperties.type()field.intviewConfigurationType()XrViewConfigurationProperties.BufferviewConfigurationType(int value)Sets the specified value to theXrViewConfigurationProperties.viewConfigurationType()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrViewConfigurationProperties.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 byXrViewConfigurationProperties.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
XrViewConfigurationProperties.type()field.
-
next
public long next()
- Returns:
- the value of the
XrViewConfigurationProperties.next()field.
-
viewConfigurationType
public int viewConfigurationType()
- Returns:
- the value of the
XrViewConfigurationProperties.viewConfigurationType()field.
-
fovMutable
public boolean fovMutable()
- Returns:
- the value of the
XrViewConfigurationProperties.fovMutable()field.
-
type
public XrViewConfigurationProperties.Buffer type(int value)
Sets the specified value to theXrViewConfigurationProperties.type()field.
-
type$Default
public XrViewConfigurationProperties.Buffer type$Default()
Sets theTYPE_VIEW_CONFIGURATION_PROPERTIESvalue to theXrViewConfigurationProperties.type()field.
-
next
public XrViewConfigurationProperties.Buffer next(long value)
Sets the specified value to theXrViewConfigurationProperties.next()field.
-
viewConfigurationType
public XrViewConfigurationProperties.Buffer viewConfigurationType(int value)
Sets the specified value to theXrViewConfigurationProperties.viewConfigurationType()field.
-
fovMutable
public XrViewConfigurationProperties.Buffer fovMutable(boolean value)
Sets the specified value to theXrViewConfigurationProperties.fovMutable()field.
-
-