Package org.lwjgl.openxr
Class XrGeometryInstanceCreateInfoFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrGeometryInstanceCreateInfoFB,XrGeometryInstanceCreateInfoFB.Buffer>
-
- org.lwjgl.openxr.XrGeometryInstanceCreateInfoFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrGeometryInstanceCreateInfoFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrGeometryInstanceCreateInfoFB
public static class XrGeometryInstanceCreateInfoFB.Buffer extends org.lwjgl.system.StructBuffer<XrGeometryInstanceCreateInfoFB,XrGeometryInstanceCreateInfoFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrGeometryInstanceCreateInfoFBstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longbaseSpace()XrGeometryInstanceCreateInfoFB.BufferbaseSpace(XrSpace value)Sets the specified value to thebaseSpacefield.longlayer()XrGeometryInstanceCreateInfoFB.Bufferlayer(XrPassthroughLayerFB value)Sets the specified value to thelayerfield.longmesh()XrGeometryInstanceCreateInfoFB.Buffermesh(XrTriangleMeshFB value)Sets the specified value to themeshfield.longnext()XrGeometryInstanceCreateInfoFB.Buffernext(long value)Sets the specified value to thenextfield.XrPosefpose()XrGeometryInstanceCreateInfoFB.Bufferpose(java.util.function.Consumer<XrPosef> consumer)Passes theposefield to the specifiedConsumer.XrGeometryInstanceCreateInfoFB.Bufferpose(XrPosef value)Copies the specifiedXrPosefto theposefield.XrVector3fscale()XrGeometryInstanceCreateInfoFB.Bufferscale(java.util.function.Consumer<XrVector3f> consumer)Passes thescalefield to the specifiedConsumer.XrGeometryInstanceCreateInfoFB.Bufferscale(XrVector3f value)Copies the specifiedXrVector3fto thescalefield.inttype()XrGeometryInstanceCreateInfoFB.Buffertype(int value)Sets the specified value to thetypefield.XrGeometryInstanceCreateInfoFB.Buffertype$Default()Sets theTYPE_GEOMETRY_INSTANCE_CREATE_INFO_FBvalue to thetypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrGeometryInstanceCreateInfoFB.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 byXrGeometryInstanceCreateInfoFB.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.
-
layer
public long layer()
- Returns:
- the value of the
layerfield.
-
mesh
public long mesh()
- Returns:
- the value of the
meshfield.
-
baseSpace
public long baseSpace()
- Returns:
- the value of the
baseSpacefield.
-
scale
public XrVector3f scale()
- Returns:
- a
XrVector3fview of thescalefield.
-
type
public XrGeometryInstanceCreateInfoFB.Buffer type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrGeometryInstanceCreateInfoFB.Buffer type$Default()
Sets theTYPE_GEOMETRY_INSTANCE_CREATE_INFO_FBvalue to thetypefield.
-
next
public XrGeometryInstanceCreateInfoFB.Buffer next(long value)
Sets the specified value to thenextfield.
-
layer
public XrGeometryInstanceCreateInfoFB.Buffer layer(XrPassthroughLayerFB value)
Sets the specified value to thelayerfield.
-
mesh
public XrGeometryInstanceCreateInfoFB.Buffer mesh(XrTriangleMeshFB value)
Sets the specified value to themeshfield.
-
baseSpace
public XrGeometryInstanceCreateInfoFB.Buffer baseSpace(XrSpace value)
Sets the specified value to thebaseSpacefield.
-
pose
public XrGeometryInstanceCreateInfoFB.Buffer pose(XrPosef value)
Copies the specifiedXrPosefto theposefield.
-
pose
public XrGeometryInstanceCreateInfoFB.Buffer pose(java.util.function.Consumer<XrPosef> consumer)
Passes theposefield to the specifiedConsumer.
-
scale
public XrGeometryInstanceCreateInfoFB.Buffer scale(XrVector3f value)
Copies the specifiedXrVector3fto thescalefield.
-
scale
public XrGeometryInstanceCreateInfoFB.Buffer scale(java.util.function.Consumer<XrVector3f> consumer)
Passes thescalefield to the specifiedConsumer.
-
-