Package org.lwjgl.openxr
Class XrCompositionLayerProjectionView.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrCompositionLayerProjectionView,XrCompositionLayerProjectionView.Buffer>
-
- org.lwjgl.openxr.XrCompositionLayerProjectionView.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrCompositionLayerProjectionView>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrCompositionLayerProjectionView
public static class XrCompositionLayerProjectionView.Buffer extends org.lwjgl.system.StructBuffer<XrCompositionLayerProjectionView,XrCompositionLayerProjectionView.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrCompositionLayerProjectionViewstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrCompositionLayerProjectionView.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 byXrCompositionLayerProjectionView.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
XrCompositionLayerProjectionView.type()field.
-
next
public long next()
- Returns:
- the value of the
XrCompositionLayerProjectionView.next()field.
-
pose
public XrPosef pose()
- Returns:
- a
XrPosefview of theXrCompositionLayerProjectionView.pose()field.
-
fov
public XrFovf fov()
- Returns:
- a
XrFovfview of theXrCompositionLayerProjectionView.fov()field.
-
subImage
public XrSwapchainSubImage subImage()
- Returns:
- a
XrSwapchainSubImageview of theXrCompositionLayerProjectionView.subImage()field.
-
type
public XrCompositionLayerProjectionView.Buffer type(int value)
Sets the specified value to theXrCompositionLayerProjectionView.type()field.
-
type$Default
public XrCompositionLayerProjectionView.Buffer type$Default()
Sets theTYPE_COMPOSITION_LAYER_PROJECTION_VIEWvalue to theXrCompositionLayerProjectionView.type()field.
-
next
public XrCompositionLayerProjectionView.Buffer next(long value)
Sets the specified value to theXrCompositionLayerProjectionView.next()field.
-
next
public XrCompositionLayerProjectionView.Buffer next(XrCompositionLayerDepthInfoKHR value)
Prepends the specifiedXrCompositionLayerDepthInfoKHRvalue to thenextchain.
-
next
public XrCompositionLayerProjectionView.Buffer next(XrCompositionLayerSpaceWarpInfoFB value)
Prepends the specifiedXrCompositionLayerSpaceWarpInfoFBvalue to thenextchain.
-
pose
public XrCompositionLayerProjectionView.Buffer pose(XrPosef value)
Copies the specifiedXrPosefto theXrCompositionLayerProjectionView.pose()field.
-
pose
public XrCompositionLayerProjectionView.Buffer pose(java.util.function.Consumer<XrPosef> consumer)
Passes theXrCompositionLayerProjectionView.pose()field to the specifiedConsumer.
-
fov
public XrCompositionLayerProjectionView.Buffer fov(XrFovf value)
Copies the specifiedXrFovfto theXrCompositionLayerProjectionView.fov()field.
-
fov
public XrCompositionLayerProjectionView.Buffer fov(java.util.function.Consumer<XrFovf> consumer)
Passes theXrCompositionLayerProjectionView.fov()field to the specifiedConsumer.
-
subImage
public XrCompositionLayerProjectionView.Buffer subImage(XrSwapchainSubImage value)
Copies the specifiedXrSwapchainSubImageto theXrCompositionLayerProjectionView.subImage()field.
-
subImage
public XrCompositionLayerProjectionView.Buffer subImage(java.util.function.Consumer<XrSwapchainSubImage> consumer)
Passes theXrCompositionLayerProjectionView.subImage()field to the specifiedConsumer.
-
-