Package org.lwjgl.openxr
Class XrCompositionLayerQuad.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrCompositionLayerQuad,XrCompositionLayerQuad.Buffer>
-
- org.lwjgl.openxr.XrCompositionLayerQuad.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrCompositionLayerQuad>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrCompositionLayerQuad
public static class XrCompositionLayerQuad.Buffer extends org.lwjgl.system.StructBuffer<XrCompositionLayerQuad,XrCompositionLayerQuad.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrCompositionLayerQuadstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrCompositionLayerQuad.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 byXrCompositionLayerQuad.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
XrCompositionLayerQuad.type()field.
-
next
public long next()
- Returns:
- the value of the
XrCompositionLayerQuad.next()field.
-
layerFlags
public long layerFlags()
- Returns:
- the value of the
XrCompositionLayerQuad.layerFlags()field.
-
space
public long space()
- Returns:
- the value of the
XrCompositionLayerQuad.space()field.
-
eyeVisibility
public int eyeVisibility()
- Returns:
- the value of the
XrCompositionLayerQuad.eyeVisibility()field.
-
subImage
public XrSwapchainSubImage subImage()
- Returns:
- a
XrSwapchainSubImageview of theXrCompositionLayerQuad.subImage()field.
-
pose
public XrPosef pose()
- Returns:
- a
XrPosefview of theXrCompositionLayerQuad.pose()field.
-
size
public XrExtent2Df size()
- Returns:
- a
XrExtent2Dfview of theXrCompositionLayerQuad.size()field.
-
type
public XrCompositionLayerQuad.Buffer type(int value)
Sets the specified value to theXrCompositionLayerQuad.type()field.
-
type$Default
public XrCompositionLayerQuad.Buffer type$Default()
Sets theTYPE_COMPOSITION_LAYER_QUADvalue to theXrCompositionLayerQuad.type()field.
-
next
public XrCompositionLayerQuad.Buffer next(long value)
Sets the specified value to theXrCompositionLayerQuad.next()field.
-
layerFlags
public XrCompositionLayerQuad.Buffer layerFlags(long value)
Sets the specified value to theXrCompositionLayerQuad.layerFlags()field.
-
space
public XrCompositionLayerQuad.Buffer space(XrSpace value)
Sets the specified value to theXrCompositionLayerQuad.space()field.
-
eyeVisibility
public XrCompositionLayerQuad.Buffer eyeVisibility(int value)
Sets the specified value to theXrCompositionLayerQuad.eyeVisibility()field.
-
subImage
public XrCompositionLayerQuad.Buffer subImage(XrSwapchainSubImage value)
Copies the specifiedXrSwapchainSubImageto theXrCompositionLayerQuad.subImage()field.
-
subImage
public XrCompositionLayerQuad.Buffer subImage(java.util.function.Consumer<XrSwapchainSubImage> consumer)
Passes theXrCompositionLayerQuad.subImage()field to the specifiedConsumer.
-
pose
public XrCompositionLayerQuad.Buffer pose(XrPosef value)
Copies the specifiedXrPosefto theXrCompositionLayerQuad.pose()field.
-
pose
public XrCompositionLayerQuad.Buffer pose(java.util.function.Consumer<XrPosef> consumer)
Passes theXrCompositionLayerQuad.pose()field to the specifiedConsumer.
-
size
public XrCompositionLayerQuad.Buffer size(XrExtent2Df value)
Copies the specifiedXrExtent2Dfto theXrCompositionLayerQuad.size()field.
-
size
public XrCompositionLayerQuad.Buffer size(java.util.function.Consumer<XrExtent2Df> consumer)
Passes theXrCompositionLayerQuad.size()field to the specifiedConsumer.
-
-