Package org.lwjgl.openxr
Class XrPassthroughCreateInfoFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrPassthroughCreateInfoFB,XrPassthroughCreateInfoFB.Buffer>
-
- org.lwjgl.openxr.XrPassthroughCreateInfoFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrPassthroughCreateInfoFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrPassthroughCreateInfoFB
public static class XrPassthroughCreateInfoFB.Buffer extends org.lwjgl.system.StructBuffer<XrPassthroughCreateInfoFB,XrPassthroughCreateInfoFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrPassthroughCreateInfoFBstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longflags()XrPassthroughCreateInfoFB.Bufferflags(long value)Sets the specified value to theflagsfield.longnext()XrPassthroughCreateInfoFB.Buffernext(long value)Sets the specified value to thenextfield.inttype()XrPassthroughCreateInfoFB.Buffertype(int value)Sets the specified value to thetypefield.XrPassthroughCreateInfoFB.Buffertype$Default()Sets theTYPE_PASSTHROUGH_CREATE_INFO_FBvalue to thetypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrPassthroughCreateInfoFB.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 byXrPassthroughCreateInfoFB.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
typefield.
-
next
public long next()
- Returns:
- the value of the
nextfield.
-
flags
public long flags()
- Returns:
- the value of the
flagsfield.
-
type
public XrPassthroughCreateInfoFB.Buffer type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrPassthroughCreateInfoFB.Buffer type$Default()
Sets theTYPE_PASSTHROUGH_CREATE_INFO_FBvalue to thetypefield.
-
next
public XrPassthroughCreateInfoFB.Buffer next(long value)
Sets the specified value to thenextfield.
-
flags
public XrPassthroughCreateInfoFB.Buffer flags(long value)
Sets the specified value to theflagsfield.
-
-