Package org.lwjgl.openxr
Class XrGeometryInstanceTransformFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrGeometryInstanceTransformFB,XrGeometryInstanceTransformFB.Buffer>
-
- org.lwjgl.openxr.XrGeometryInstanceTransformFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrGeometryInstanceTransformFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrGeometryInstanceTransformFB
public static class XrGeometryInstanceTransformFB.Buffer extends org.lwjgl.system.StructBuffer<XrGeometryInstanceTransformFB,XrGeometryInstanceTransformFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrGeometryInstanceTransformFBstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longbaseSpace()XrGeometryInstanceTransformFB.BufferbaseSpace(XrSpace value)Sets the specified value to thebaseSpacefield.longnext()XrGeometryInstanceTransformFB.Buffernext(long value)Sets the specified value to thenextfield.XrPosefpose()XrGeometryInstanceTransformFB.Bufferpose(java.util.function.Consumer<XrPosef> consumer)Passes theposefield to the specifiedConsumer.XrGeometryInstanceTransformFB.Bufferpose(XrPosef value)Copies the specifiedXrPosefto theposefield.XrVector3fscale()XrGeometryInstanceTransformFB.Bufferscale(java.util.function.Consumer<XrVector3f> consumer)Passes thescalefield to the specifiedConsumer.XrGeometryInstanceTransformFB.Bufferscale(XrVector3f value)Copies the specifiedXrVector3fto thescalefield.longtime()XrGeometryInstanceTransformFB.Buffertime(long value)Sets the specified value to thetimefield.inttype()XrGeometryInstanceTransformFB.Buffertype(int value)Sets the specified value to thetypefield.XrGeometryInstanceTransformFB.Buffertype$Default()Sets theTYPE_GEOMETRY_INSTANCE_TRANSFORM_FBvalue to thetypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrGeometryInstanceTransformFB.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 byXrGeometryInstanceTransformFB.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.
-
baseSpace
public long baseSpace()
- Returns:
- the value of the
baseSpacefield.
-
time
public long time()
- Returns:
- the value of the
timefield.
-
scale
public XrVector3f scale()
- Returns:
- a
XrVector3fview of thescalefield.
-
type
public XrGeometryInstanceTransformFB.Buffer type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrGeometryInstanceTransformFB.Buffer type$Default()
Sets theTYPE_GEOMETRY_INSTANCE_TRANSFORM_FBvalue to thetypefield.
-
next
public XrGeometryInstanceTransformFB.Buffer next(long value)
Sets the specified value to thenextfield.
-
baseSpace
public XrGeometryInstanceTransformFB.Buffer baseSpace(XrSpace value)
Sets the specified value to thebaseSpacefield.
-
time
public XrGeometryInstanceTransformFB.Buffer time(long value)
Sets the specified value to thetimefield.
-
pose
public XrGeometryInstanceTransformFB.Buffer pose(XrPosef value)
Copies the specifiedXrPosefto theposefield.
-
pose
public XrGeometryInstanceTransformFB.Buffer pose(java.util.function.Consumer<XrPosef> consumer)
Passes theposefield to the specifiedConsumer.
-
scale
public XrGeometryInstanceTransformFB.Buffer scale(XrVector3f value)
Copies the specifiedXrVector3fto thescalefield.
-
scale
public XrGeometryInstanceTransformFB.Buffer scale(java.util.function.Consumer<XrVector3f> consumer)
Passes thescalefield to the specifiedConsumer.
-
-