Package org.lwjgl.openxr
Class XrCompositionLayerSpaceWarpInfoFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrCompositionLayerSpaceWarpInfoFB,XrCompositionLayerSpaceWarpInfoFB.Buffer>
-
- org.lwjgl.openxr.XrCompositionLayerSpaceWarpInfoFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrCompositionLayerSpaceWarpInfoFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrCompositionLayerSpaceWarpInfoFB
public static class XrCompositionLayerSpaceWarpInfoFB.Buffer extends org.lwjgl.system.StructBuffer<XrCompositionLayerSpaceWarpInfoFB,XrCompositionLayerSpaceWarpInfoFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrCompositionLayerSpaceWarpInfoFBstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrCompositionLayerSpaceWarpInfoFB.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 byXrCompositionLayerSpaceWarpInfoFB.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
XrCompositionLayerSpaceWarpInfoFB.type()field.
-
next
public long next()
- Returns:
- the value of the
XrCompositionLayerSpaceWarpInfoFB.next()field.
-
layerFlags
public long layerFlags()
- Returns:
- the value of the
XrCompositionLayerSpaceWarpInfoFB.layerFlags()field.
-
motionVectorSubImage
public XrSwapchainSubImage motionVectorSubImage()
- Returns:
- a
XrSwapchainSubImageview of theXrCompositionLayerSpaceWarpInfoFB.motionVectorSubImage()field.
-
appSpaceDeltaPose
public XrPosef appSpaceDeltaPose()
- Returns:
- a
XrPosefview of theXrCompositionLayerSpaceWarpInfoFB.appSpaceDeltaPose()field.
-
depthSubImage
public XrSwapchainSubImage depthSubImage()
- Returns:
- a
XrSwapchainSubImageview of theXrCompositionLayerSpaceWarpInfoFB.depthSubImage()field.
-
minDepth
public float minDepth()
- Returns:
- the value of the
XrCompositionLayerSpaceWarpInfoFB.minDepth()field.
-
maxDepth
public float maxDepth()
- Returns:
- the value of the
XrCompositionLayerSpaceWarpInfoFB.maxDepth()field.
-
nearZ
public float nearZ()
- Returns:
- the value of the
XrCompositionLayerSpaceWarpInfoFB.nearZ()field.
-
farZ
public float farZ()
- Returns:
- the value of the
XrCompositionLayerSpaceWarpInfoFB.farZ()field.
-
type
public XrCompositionLayerSpaceWarpInfoFB.Buffer type(int value)
Sets the specified value to theXrCompositionLayerSpaceWarpInfoFB.type()field.
-
type$Default
public XrCompositionLayerSpaceWarpInfoFB.Buffer type$Default()
Sets theTYPE_COMPOSITION_LAYER_SPACE_WARP_INFO_FBvalue to theXrCompositionLayerSpaceWarpInfoFB.type()field.
-
next
public XrCompositionLayerSpaceWarpInfoFB.Buffer next(long value)
Sets the specified value to theXrCompositionLayerSpaceWarpInfoFB.next()field.
-
layerFlags
public XrCompositionLayerSpaceWarpInfoFB.Buffer layerFlags(long value)
Sets the specified value to theXrCompositionLayerSpaceWarpInfoFB.layerFlags()field.
-
motionVectorSubImage
public XrCompositionLayerSpaceWarpInfoFB.Buffer motionVectorSubImage(XrSwapchainSubImage value)
Copies the specifiedXrSwapchainSubImageto theXrCompositionLayerSpaceWarpInfoFB.motionVectorSubImage()field.
-
motionVectorSubImage
public XrCompositionLayerSpaceWarpInfoFB.Buffer motionVectorSubImage(java.util.function.Consumer<XrSwapchainSubImage> consumer)
Passes theXrCompositionLayerSpaceWarpInfoFB.motionVectorSubImage()field to the specifiedConsumer.
-
appSpaceDeltaPose
public XrCompositionLayerSpaceWarpInfoFB.Buffer appSpaceDeltaPose(XrPosef value)
Copies the specifiedXrPosefto theXrCompositionLayerSpaceWarpInfoFB.appSpaceDeltaPose()field.
-
appSpaceDeltaPose
public XrCompositionLayerSpaceWarpInfoFB.Buffer appSpaceDeltaPose(java.util.function.Consumer<XrPosef> consumer)
Passes theXrCompositionLayerSpaceWarpInfoFB.appSpaceDeltaPose()field to the specifiedConsumer.
-
depthSubImage
public XrCompositionLayerSpaceWarpInfoFB.Buffer depthSubImage(XrSwapchainSubImage value)
Copies the specifiedXrSwapchainSubImageto theXrCompositionLayerSpaceWarpInfoFB.depthSubImage()field.
-
depthSubImage
public XrCompositionLayerSpaceWarpInfoFB.Buffer depthSubImage(java.util.function.Consumer<XrSwapchainSubImage> consumer)
Passes theXrCompositionLayerSpaceWarpInfoFB.depthSubImage()field to the specifiedConsumer.
-
minDepth
public XrCompositionLayerSpaceWarpInfoFB.Buffer minDepth(float value)
Sets the specified value to theXrCompositionLayerSpaceWarpInfoFB.minDepth()field.
-
maxDepth
public XrCompositionLayerSpaceWarpInfoFB.Buffer maxDepth(float value)
Sets the specified value to theXrCompositionLayerSpaceWarpInfoFB.maxDepth()field.
-
nearZ
public XrCompositionLayerSpaceWarpInfoFB.Buffer nearZ(float value)
Sets the specified value to theXrCompositionLayerSpaceWarpInfoFB.nearZ()field.
-
farZ
public XrCompositionLayerSpaceWarpInfoFB.Buffer farZ(float value)
Sets the specified value to theXrCompositionLayerSpaceWarpInfoFB.farZ()field.
-
-