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