Package org.lwjgl.openxr
Class XrCompositionLayerEquirect2KHR.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<XrCompositionLayerEquirect2KHR.Buffer>
org.lwjgl.system.StructBuffer<XrCompositionLayerEquirect2KHR,XrCompositionLayerEquirect2KHR.Buffer>
org.lwjgl.openxr.XrCompositionLayerEquirect2KHR.Buffer
- All Implemented Interfaces:
AutoCloseable,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 of
XrCompositionLayerEquirect2KHR structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newXrCompositionLayerEquirect2KHR.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionfloatcentralHorizontalAngle(float value) Sets the specified value to theXrCompositionLayerEquirect2KHR.centralHorizontalAngle()field.inteyeVisibility(int value) Sets the specified value to theXrCompositionLayerEquirect2KHR.eyeVisibility()field.longlayerFlags(long value) Sets the specified value to theXrCompositionLayerEquirect2KHR.layerFlags()field.floatlowerVerticalAngle(float value) Sets the specified value to theXrCompositionLayerEquirect2KHR.lowerVerticalAngle()field.longnext()next(long value) Sets the specified value to theXrCompositionLayerEquirect2KHR.next()field.pose()Passes theXrCompositionLayerEquirect2KHR.pose()field to the specifiedConsumer.Copies the specifiedXrPosefto theXrCompositionLayerEquirect2KHR.pose()field.floatradius()radius(float value) Sets the specified value to theXrCompositionLayerEquirect2KHR.radius()field.longspace()Sets the specified value to theXrCompositionLayerEquirect2KHR.space()field.subImage()subImage(Consumer<XrSwapchainSubImage> consumer) Passes theXrCompositionLayerEquirect2KHR.subImage()field to the specifiedConsumer.subImage(XrSwapchainSubImage value) Copies the specifiedXrSwapchainSubImageto theXrCompositionLayerEquirect2KHR.subImage()field.inttype()type(int value) Sets the specified value to theXrCompositionLayerEquirect2KHR.type()field.Sets theTYPE_COMPOSITION_LAYER_EQUIRECT2_KHRvalue to theXrCompositionLayerEquirect2KHR.type()field.floatupperVerticalAngle(float value) Sets the specified value to theXrCompositionLayerEquirect2KHR.upperVerticalAngle()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
XrCompositionLayerEquirect2KHR.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 Details
-
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
XrCompositionLayerEquirect2KHR.eyeVisibility()field.
-
subImage
- Returns:
- a
XrSwapchainSubImageview of theXrCompositionLayerEquirect2KHR.subImage()field.
-
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
Sets the specified value to theXrCompositionLayerEquirect2KHR.type()field. -
type$Default
Sets theTYPE_COMPOSITION_LAYER_EQUIRECT2_KHRvalue to theXrCompositionLayerEquirect2KHR.type()field. -
next
Sets the specified value to theXrCompositionLayerEquirect2KHR.next()field. -
layerFlags
Sets the specified value to theXrCompositionLayerEquirect2KHR.layerFlags()field. -
space
Sets the specified value to theXrCompositionLayerEquirect2KHR.space()field. -
eyeVisibility
Sets the specified value to theXrCompositionLayerEquirect2KHR.eyeVisibility()field. -
subImage
Copies the specifiedXrSwapchainSubImageto theXrCompositionLayerEquirect2KHR.subImage()field. -
subImage
Passes theXrCompositionLayerEquirect2KHR.subImage()field to the specifiedConsumer. -
pose
Copies the specifiedXrPosefto theXrCompositionLayerEquirect2KHR.pose()field. -
pose
Passes theXrCompositionLayerEquirect2KHR.pose()field to the specifiedConsumer. -
radius
Sets the specified value to theXrCompositionLayerEquirect2KHR.radius()field. -
centralHorizontalAngle
Sets the specified value to theXrCompositionLayerEquirect2KHR.centralHorizontalAngle()field. -
upperVerticalAngle
Sets the specified value to theXrCompositionLayerEquirect2KHR.upperVerticalAngle()field. -
lowerVerticalAngle
Sets the specified value to theXrCompositionLayerEquirect2KHR.lowerVerticalAngle()field.
-