Package org.lwjgl.openxr
Class XrFoveatedViewConfigurationViewVARJO.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrFoveatedViewConfigurationViewVARJO,XrFoveatedViewConfigurationViewVARJO.Buffer>
-
- org.lwjgl.openxr.XrFoveatedViewConfigurationViewVARJO.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrFoveatedViewConfigurationViewVARJO>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrFoveatedViewConfigurationViewVARJO
public static class XrFoveatedViewConfigurationViewVARJO.Buffer extends org.lwjgl.system.StructBuffer<XrFoveatedViewConfigurationViewVARJO,XrFoveatedViewConfigurationViewVARJO.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrFoveatedViewConfigurationViewVARJOstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfoveatedRenderingActive()XrFoveatedViewConfigurationViewVARJO.BufferfoveatedRenderingActive(boolean value)Sets the specified value to theXrFoveatedViewConfigurationViewVARJO.foveatedRenderingActive()field.longnext()XrFoveatedViewConfigurationViewVARJO.Buffernext(long value)Sets the specified value to theXrFoveatedViewConfigurationViewVARJO.next()field.inttype()XrFoveatedViewConfigurationViewVARJO.Buffertype(int value)Sets the specified value to theXrFoveatedViewConfigurationViewVARJO.type()field.XrFoveatedViewConfigurationViewVARJO.Buffertype$Default()Sets theTYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJOvalue to theXrFoveatedViewConfigurationViewVARJO.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrFoveatedViewConfigurationViewVARJO.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 byXrFoveatedViewConfigurationViewVARJO.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
XrFoveatedViewConfigurationViewVARJO.type()field.
-
next
public long next()
- Returns:
- the value of the
XrFoveatedViewConfigurationViewVARJO.next()field.
-
foveatedRenderingActive
public boolean foveatedRenderingActive()
- Returns:
- the value of the
XrFoveatedViewConfigurationViewVARJO.foveatedRenderingActive()field.
-
type
public XrFoveatedViewConfigurationViewVARJO.Buffer type(int value)
Sets the specified value to theXrFoveatedViewConfigurationViewVARJO.type()field.
-
type$Default
public XrFoveatedViewConfigurationViewVARJO.Buffer type$Default()
Sets theTYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJOvalue to theXrFoveatedViewConfigurationViewVARJO.type()field.
-
next
public XrFoveatedViewConfigurationViewVARJO.Buffer next(long value)
Sets the specified value to theXrFoveatedViewConfigurationViewVARJO.next()field.
-
foveatedRenderingActive
public XrFoveatedViewConfigurationViewVARJO.Buffer foveatedRenderingActive(boolean value)
Sets the specified value to theXrFoveatedViewConfigurationViewVARJO.foveatedRenderingActive()field.
-
-