Package org.lwjgl.openxr
Class XrCompositionLayerCylinderKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrCompositionLayerCylinderKHR,XrCompositionLayerCylinderKHR.Buffer>
-
- org.lwjgl.openxr.XrCompositionLayerCylinderKHR.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrCompositionLayerCylinderKHR>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrCompositionLayerCylinderKHR
public static class XrCompositionLayerCylinderKHR.Buffer extends org.lwjgl.system.StructBuffer<XrCompositionLayerCylinderKHR,XrCompositionLayerCylinderKHR.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrCompositionLayerCylinderKHRstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrCompositionLayerCylinderKHR.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 byXrCompositionLayerCylinderKHR.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
XrCompositionLayerCylinderKHR.type()field.
-
next
public long next()
- Returns:
- the value of the
XrCompositionLayerCylinderKHR.next()field.
-
layerFlags
public long layerFlags()
- Returns:
- the value of the
XrCompositionLayerCylinderKHR.layerFlags()field.
-
space
public long space()
- Returns:
- the value of the
XrCompositionLayerCylinderKHR.space()field.
-
eyeVisibility
public int eyeVisibility()
- Returns:
- the value of the
eyeVisibilityfield.
-
subImage
public XrSwapchainSubImage subImage()
- Returns:
- a
XrSwapchainSubImageview of theXrCompositionLayerCylinderKHR.subImage()field.
-
pose
public XrPosef pose()
- Returns:
- a
XrPosefview of theXrCompositionLayerCylinderKHR.pose()field.
-
radius
public float radius()
- Returns:
- the value of the
XrCompositionLayerCylinderKHR.radius()field.
-
centralAngle
public float centralAngle()
- Returns:
- the value of the
XrCompositionLayerCylinderKHR.centralAngle()field.
-
aspectRatio
public float aspectRatio()
- Returns:
- the value of the
XrCompositionLayerCylinderKHR.aspectRatio()field.
-
type
public XrCompositionLayerCylinderKHR.Buffer type(int value)
Sets the specified value to theXrCompositionLayerCylinderKHR.type()field.
-
type$Default
public XrCompositionLayerCylinderKHR.Buffer type$Default()
Sets theTYPE_COMPOSITION_LAYER_CYLINDER_KHRvalue to theXrCompositionLayerCylinderKHR.type()field.
-
next
public XrCompositionLayerCylinderKHR.Buffer next(long value)
Sets the specified value to theXrCompositionLayerCylinderKHR.next()field.
-
layerFlags
public XrCompositionLayerCylinderKHR.Buffer layerFlags(long value)
Sets the specified value to theXrCompositionLayerCylinderKHR.layerFlags()field.
-
space
public XrCompositionLayerCylinderKHR.Buffer space(XrSpace value)
Sets the specified value to theXrCompositionLayerCylinderKHR.space()field.
-
eyeVisibility
public XrCompositionLayerCylinderKHR.Buffer eyeVisibility(int value)
Sets the specified value to theeyeVisibilityfield.
-
subImage
public XrCompositionLayerCylinderKHR.Buffer subImage(XrSwapchainSubImage value)
Copies the specifiedXrSwapchainSubImageto theXrCompositionLayerCylinderKHR.subImage()field.
-
subImage
public XrCompositionLayerCylinderKHR.Buffer subImage(java.util.function.Consumer<XrSwapchainSubImage> consumer)
Passes theXrCompositionLayerCylinderKHR.subImage()field to the specifiedConsumer.
-
pose
public XrCompositionLayerCylinderKHR.Buffer pose(XrPosef value)
Copies the specifiedXrPosefto theXrCompositionLayerCylinderKHR.pose()field.
-
pose
public XrCompositionLayerCylinderKHR.Buffer pose(java.util.function.Consumer<XrPosef> consumer)
Passes theXrCompositionLayerCylinderKHR.pose()field to the specifiedConsumer.
-
radius
public XrCompositionLayerCylinderKHR.Buffer radius(float value)
Sets the specified value to theXrCompositionLayerCylinderKHR.radius()field.
-
centralAngle
public XrCompositionLayerCylinderKHR.Buffer centralAngle(float value)
Sets the specified value to theXrCompositionLayerCylinderKHR.centralAngle()field.
-
aspectRatio
public XrCompositionLayerCylinderKHR.Buffer aspectRatio(float value)
Sets the specified value to theXrCompositionLayerCylinderKHR.aspectRatio()field.
-
-