Package org.lwjgl.openxr
Class XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrCompositionLayerReprojectionPlaneOverrideMSFT,XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer>
-
- org.lwjgl.openxr.XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrCompositionLayerReprojectionPlaneOverrideMSFT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrCompositionLayerReprojectionPlaneOverrideMSFT
public static class XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer extends org.lwjgl.system.StructBuffer<XrCompositionLayerReprojectionPlaneOverrideMSFT,XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrCompositionLayerReprojectionPlaneOverrideMSFTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrCompositionLayerReprojectionPlaneOverrideMSFT.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 byXrCompositionLayerReprojectionPlaneOverrideMSFT.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.
-
position$
public XrVector3f position$()
- Returns:
- a
XrVector3fview of theXrCompositionLayerReprojectionPlaneOverrideMSFT.position$()field.
-
normal
public XrVector3f normal()
- Returns:
- a
XrVector3fview of theXrCompositionLayerReprojectionPlaneOverrideMSFT.normal()field.
-
velocity
public XrVector3f velocity()
- Returns:
- a
XrVector3fview of theXrCompositionLayerReprojectionPlaneOverrideMSFT.velocity()field.
-
type
public XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer type$Default()
Sets theTYPE_COMPOSITION_LAYER_REPROJECTION_PLANE_OVERRIDE_MSFTvalue to thetypefield.
-
next
public XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer next(long value)
Sets the specified value to thenextfield.
-
position$
public XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer position$(XrVector3f value)
Copies the specifiedXrVector3fto theXrCompositionLayerReprojectionPlaneOverrideMSFT.position$()field.
-
position$
public XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer position$(java.util.function.Consumer<XrVector3f> consumer)
Passes theXrCompositionLayerReprojectionPlaneOverrideMSFT.position$()field to the specifiedConsumer.
-
normal
public XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer normal(XrVector3f value)
Copies the specifiedXrVector3fto theXrCompositionLayerReprojectionPlaneOverrideMSFT.normal()field.
-
normal
public XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer normal(java.util.function.Consumer<XrVector3f> consumer)
Passes theXrCompositionLayerReprojectionPlaneOverrideMSFT.normal()field to the specifiedConsumer.
-
velocity
public XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer velocity(XrVector3f value)
Copies the specifiedXrVector3fto theXrCompositionLayerReprojectionPlaneOverrideMSFT.velocity()field.
-
velocity
public XrCompositionLayerReprojectionPlaneOverrideMSFT.Buffer velocity(java.util.function.Consumer<XrVector3f> consumer)
Passes theXrCompositionLayerReprojectionPlaneOverrideMSFT.velocity()field to the specifiedConsumer.
-
-