Package org.lwjgl.openxr
Class XrPassthroughLayerCreateInfoFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrPassthroughLayerCreateInfoFB,XrPassthroughLayerCreateInfoFB.Buffer>
-
- org.lwjgl.openxr.XrPassthroughLayerCreateInfoFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrPassthroughLayerCreateInfoFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrPassthroughLayerCreateInfoFB
public static class XrPassthroughLayerCreateInfoFB.Buffer extends org.lwjgl.system.StructBuffer<XrPassthroughLayerCreateInfoFB,XrPassthroughLayerCreateInfoFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrPassthroughLayerCreateInfoFBstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longflags()XrPassthroughLayerCreateInfoFB.Bufferflags(long value)Sets the specified value to theflagsfield.longnext()XrPassthroughLayerCreateInfoFB.Buffernext(long value)Sets the specified value to thenextfield.longpassthrough()XrPassthroughLayerCreateInfoFB.Bufferpassthrough(XrPassthroughFB value)Sets the specified value to thepassthroughfield.intpurpose()XrPassthroughLayerCreateInfoFB.Bufferpurpose(int value)Sets the specified value to thepurposefield.inttype()XrPassthroughLayerCreateInfoFB.Buffertype(int value)Sets the specified value to thetypefield.XrPassthroughLayerCreateInfoFB.Buffertype$Default()Sets theTYPE_PASSTHROUGH_LAYER_CREATE_INFO_FBvalue to thetypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrPassthroughLayerCreateInfoFB.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 byXrPassthroughLayerCreateInfoFB.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.
-
passthrough
public long passthrough()
- Returns:
- the value of the
passthroughfield.
-
flags
public long flags()
- Returns:
- the value of the
flagsfield.
-
purpose
public int purpose()
- Returns:
- the value of the
purposefield.
-
type
public XrPassthroughLayerCreateInfoFB.Buffer type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrPassthroughLayerCreateInfoFB.Buffer type$Default()
Sets theTYPE_PASSTHROUGH_LAYER_CREATE_INFO_FBvalue to thetypefield.
-
next
public XrPassthroughLayerCreateInfoFB.Buffer next(long value)
Sets the specified value to thenextfield.
-
passthrough
public XrPassthroughLayerCreateInfoFB.Buffer passthrough(XrPassthroughFB value)
Sets the specified value to thepassthroughfield.
-
flags
public XrPassthroughLayerCreateInfoFB.Buffer flags(long value)
Sets the specified value to theflagsfield.
-
purpose
public XrPassthroughLayerCreateInfoFB.Buffer purpose(int value)
Sets the specified value to thepurposefield.
-
-