Package org.lwjgl.openxr
Class XrFoveationLevelProfileCreateInfoFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrFoveationLevelProfileCreateInfoFB,XrFoveationLevelProfileCreateInfoFB.Buffer>
-
- org.lwjgl.openxr.XrFoveationLevelProfileCreateInfoFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrFoveationLevelProfileCreateInfoFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrFoveationLevelProfileCreateInfoFB
public static class XrFoveationLevelProfileCreateInfoFB.Buffer extends org.lwjgl.system.StructBuffer<XrFoveationLevelProfileCreateInfoFB,XrFoveationLevelProfileCreateInfoFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrFoveationLevelProfileCreateInfoFBstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrFoveationLevelProfileCreateInfoFB.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 byXrFoveationLevelProfileCreateInfoFB.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
XrFoveationLevelProfileCreateInfoFB.type()field.
-
next
public long next()
- Returns:
- the value of the
XrFoveationLevelProfileCreateInfoFB.next()field.
-
level
public int level()
- Returns:
- the value of the
XrFoveationLevelProfileCreateInfoFB.level()field.
-
verticalOffset
public float verticalOffset()
- Returns:
- the value of the
XrFoveationLevelProfileCreateInfoFB.verticalOffset()field.
-
dynamic
public int dynamic()
- Returns:
- the value of the
XrFoveationLevelProfileCreateInfoFB.dynamic()field.
-
type
public XrFoveationLevelProfileCreateInfoFB.Buffer type(int value)
Sets the specified value to theXrFoveationLevelProfileCreateInfoFB.type()field.
-
type$Default
public XrFoveationLevelProfileCreateInfoFB.Buffer type$Default()
Sets theTYPE_FOVEATION_LEVEL_PROFILE_CREATE_INFO_FBvalue to theXrFoveationLevelProfileCreateInfoFB.type()field.
-
next
public XrFoveationLevelProfileCreateInfoFB.Buffer next(long value)
Sets the specified value to theXrFoveationLevelProfileCreateInfoFB.next()field.
-
level
public XrFoveationLevelProfileCreateInfoFB.Buffer level(int value)
Sets the specified value to theXrFoveationLevelProfileCreateInfoFB.level()field.
-
verticalOffset
public XrFoveationLevelProfileCreateInfoFB.Buffer verticalOffset(float value)
Sets the specified value to theXrFoveationLevelProfileCreateInfoFB.verticalOffset()field.
-
dynamic
public XrFoveationLevelProfileCreateInfoFB.Buffer dynamic(int value)
Sets the specified value to theXrFoveationLevelProfileCreateInfoFB.dynamic()field.
-
-