Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrCompositionLayerCubeKHR

extends Struct<XrCompositionLayerCubeKHR>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Cube map layer composition info.
Description

XrCompositionLayerCubeKHR contains the information needed to render a cube map when calling EndFrame. XrCompositionLayerCubeKHR is an alias type for the base struct XrCompositionLayerBaseHeader used in XrFrameEndInfo.

Valid Usage (Implicit)
See Also

XrCompositionLayerBaseHeader, XrFrameEndInfo, XrQuaternionf, EndFrame

Layout


struct XrCompositionLayerCubeKHR {
    XrStructureType type;
    void const * next;
    XrCompositionLayerFlags layerFlags;
    XrSpace space;
    XrEyeVisibility eyeVisibility;
    XrSwapchain swapchain;
    uint32_t imageArrayIndex;
    XrQuaternionf orientation;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
EYEVISIBILITY

The struct member offsets.

public static final int
IMAGEARRAYINDEX

The struct member offsets.

public static final int
LAYERFLAGS

The struct member offsets.

public static final int
NEXT

The struct member offsets.

public static final int
ORIENTATION

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SPACE

The struct member offsets.

public static final int
SWAPCHAIN

The struct member offsets.

public static final int
TYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
XrCompositionLayerCubeKHR(long address, ByteBuffer container)

public
XrCompositionLayerCubeKHR(ByteBuffer container)

Creates a XrCompositionLayerCubeKHR instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static XrCompositionLayerCubeKHR
calloc()

Returns a new XrCompositionLayerCubeKHR instance allocated with memCalloc.

public static XrCompositionLayerCubeKHR.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated with memCalloc.

public static XrCompositionLayerCubeKHR
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrCompositionLayerCubeKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XrCompositionLayerCubeKHR.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected XrCompositionLayerCubeKHR
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static XrCompositionLayerCubeKHR
create()

Returns a new XrCompositionLayerCubeKHR instance allocated with BufferUtils.

public static XrCompositionLayerCubeKHR
create(long address)

Returns a new XrCompositionLayerCubeKHR instance for the specified memory address.

public static XrCompositionLayerCubeKHR
create(XrCompositionLayerBaseHeader value)

Downcasts the specified XrCompositionLayerBaseHeader instance to XrCompositionLayerCubeKHR.

public static XrCompositionLayerCubeKHR.Buffer
create(int
the buffer capacity
capacity
)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated with BufferUtils.

public static XrCompositionLayerCubeKHR.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a XrCompositionLayerCubeKHR.Buffer instance at the specified memory.

public static XrCompositionLayerCubeKHR.Buffer
create(XrCompositionLayerBaseHeader.Buffer value)

Downcasts the specified XrCompositionLayerBaseHeader.Buffer instance to XrCompositionLayerCubeKHR.Buffer.

public static XrCompositionLayerCubeKHR
createSafe(long address)

Like create, but returns null if address is NULL.

public static XrCompositionLayerCubeKHR.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int
eyeVisibility()

the eye represented by this layer.

public XrCompositionLayerCubeKHR
eyeVisibility(int value)

Sets the specified value to the eyeVisibility field.

public int
imageArrayIndex()

the image array index, with 0 meaning the first or only array element.

public XrCompositionLayerCubeKHR
imageArrayIndex(int value)

Sets the specified value to the imageArrayIndex field.

public long
layerFlags()

any flags to apply to this layer.

public XrCompositionLayerCubeKHR
layerFlags(long value)

Sets the specified value to the layerFlags field.

public static XrCompositionLayerCubeKHR
malloc()

Returns a new XrCompositionLayerCubeKHR instance allocated with memAlloc.

public static XrCompositionLayerCubeKHR.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated with memAlloc.

public static XrCompositionLayerCubeKHR
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrCompositionLayerCubeKHR instance allocated on the specified MemoryStack.

public static XrCompositionLayerCubeKHR.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated on the specified MemoryStack.

public long
next()

NULL or a pointer to the next structure in a structure chain.

public XrCompositionLayerCubeKHR
next(long value)

Sets the specified value to the next field.

public static int
neyeVisibility(long struct)

Unsafe version of eyeVisibility.

public static void
neyeVisibility(long struct, int value)

Unsafe version of eyeVisibility.

public static int
nimageArrayIndex(long struct)

Unsafe version of imageArrayIndex.

public static void
nimageArrayIndex(long struct, int value)

Unsafe version of imageArrayIndex.

public static long
nlayerFlags(long struct)

Unsafe version of layerFlags.

public static void
nlayerFlags(long struct, long value)

Unsafe version of layerFlags.

public static long
nnext(long struct)

Unsafe version of next.

public static void
nnext(long struct, long value)

Unsafe version of next.

public static XrQuaternionf
norientation(long struct)

Unsafe version of orientation.

public static void
norientation(long struct, XrQuaternionf value)

Unsafe version of orientation.

public static long
nspace(long struct)

Unsafe version of space.

public static void
nspace(long struct, XrSpace value)

Unsafe version of space.

public static long
nswapchain(long struct)

Unsafe version of swapchain.

public static void
nswapchain(long struct, XrSwapchain value)

Unsafe version of swapchain.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public XrQuaternionf
orientation()

the orientation of the environment map in the space.

public XrCompositionLayerCubeKHR
orientation(XrQuaternionf value)

Copies the specified XrQuaternionf to the orientation field.

public XrCompositionLayerCubeKHR
orientation(Consumer<XrQuaternionf> consumer)

Passes the orientation field to the specified Consumer.

public XrCompositionLayerCubeKHR
set(int type, long next, long layerFlags, XrSpace space, int eyeVisibility, XrSwapchain swapchain, int imageArrayIndex, XrQuaternionf orientation)

Initializes this struct with the specified values.

public XrCompositionLayerCubeKHR

Returns:

this struct
set
(XrCompositionLayerCubeKHR
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public long
space()

the XrSpace in which the orientation of the cube layer is evaluated over time.

public XrCompositionLayerCubeKHR
space(XrSpace value)

Sets the specified value to the space field.

public long
swapchain()

the swapchain, which must have been created with a faceCount of 6.

public XrCompositionLayerCubeKHR
swapchain(XrSwapchain value)

Sets the specified value to the swapchain field.

public int
type()

the XrStructureType of this structure.

public XrCompositionLayerCubeKHR
type(int value)

Sets the specified value to the type field.

public XrCompositionLayerCubeKHR
type$Default()

Sets the TYPE_COMPOSITION_LAYER_CUBE_KHR value to the type field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

EYEVISIBILITYback to summary
public static final int EYEVISIBILITY

The struct member offsets.

IMAGEARRAYINDEXback to summary
public static final int IMAGEARRAYINDEX

The struct member offsets.

LAYERFLAGSback to summary
public static final int LAYERFLAGS

The struct member offsets.

NEXTback to summary
public static final int NEXT

The struct member offsets.

ORIENTATIONback to summary
public static final int ORIENTATION

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SPACEback to summary
public static final int SPACE

The struct member offsets.

SWAPCHAINback to summary
public static final int SWAPCHAIN

The struct member offsets.

TYPEback to summary
public static final int TYPE

The struct member offsets.

Constructor Detail

XrCompositionLayerCubeKHRback to summary
protected XrCompositionLayerCubeKHR(long address, ByteBuffer container)
XrCompositionLayerCubeKHRback to summary
public XrCompositionLayerCubeKHR(ByteBuffer container)

Creates a XrCompositionLayerCubeKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

callocback to summary
public static XrCompositionLayerCubeKHR calloc()

Returns a new XrCompositionLayerCubeKHR instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static XrCompositionLayerCubeKHR.Buffer calloc(int capacity)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static XrCompositionLayerCubeKHR calloc(MemoryStack stack)

Returns a new XrCompositionLayerCubeKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static XrCompositionLayerCubeKHR.Buffer calloc(int capacity, MemoryStack stack)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected XrCompositionLayerCubeKHR create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static XrCompositionLayerCubeKHR create()

Returns a new XrCompositionLayerCubeKHR instance allocated with BufferUtils.

createback to summary
public static XrCompositionLayerCubeKHR create(long address)

Returns a new XrCompositionLayerCubeKHR instance for the specified memory address.

createback to summary
public static XrCompositionLayerCubeKHR create(XrCompositionLayerBaseHeader value)

Downcasts the specified XrCompositionLayerBaseHeader instance to XrCompositionLayerCubeKHR.

createback to summary
public static XrCompositionLayerCubeKHR.Buffer create(int capacity)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static XrCompositionLayerCubeKHR.Buffer create(long address, int capacity)

Create a XrCompositionLayerCubeKHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createback to summary
public static XrCompositionLayerCubeKHR.Buffer create(XrCompositionLayerBaseHeader.Buffer value)

Downcasts the specified XrCompositionLayerBaseHeader.Buffer instance to XrCompositionLayerCubeKHR.Buffer.

createSafeback to summary
public static XrCompositionLayerCubeKHR createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static XrCompositionLayerCubeKHR.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
eyeVisibilityback to summary
public int eyeVisibility()

the eye represented by this layer.

Annotations
@NativeType:XrEyeVisibility
eyeVisibilityback to summary
public XrCompositionLayerCubeKHR eyeVisibility(int value)

Sets the specified value to the eyeVisibility field.

imageArrayIndexback to summary
public int imageArrayIndex()

the image array index, with 0 meaning the first or only array element.

Annotations
@NativeType:uint32_t
imageArrayIndexback to summary
public XrCompositionLayerCubeKHR imageArrayIndex(int value)

Sets the specified value to the imageArrayIndex field.

layerFlagsback to summary
public long layerFlags()

any flags to apply to this layer.

Annotations
@NativeType:XrCompositionLayerFlags
layerFlagsback to summary
public XrCompositionLayerCubeKHR layerFlags(long value)

Sets the specified value to the layerFlags field.

mallocback to summary
public static XrCompositionLayerCubeKHR malloc()

Returns a new XrCompositionLayerCubeKHR instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static XrCompositionLayerCubeKHR.Buffer malloc(int capacity)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static XrCompositionLayerCubeKHR malloc(MemoryStack stack)

Returns a new XrCompositionLayerCubeKHR instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static XrCompositionLayerCubeKHR.Buffer malloc(int capacity, MemoryStack stack)

Returns a new XrCompositionLayerCubeKHR.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nextback to summary
public long next()

NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

Annotations
@NativeType:void const *
nextback to summary
public XrCompositionLayerCubeKHR next(long value)

Sets the specified value to the next field.

neyeVisibilityback to summary
public static int neyeVisibility(long struct)

Unsafe version of eyeVisibility.

neyeVisibilityback to summary
public static void neyeVisibility(long struct, int value)

Unsafe version of eyeVisibility.

nimageArrayIndexback to summary
public static int nimageArrayIndex(long struct)

Unsafe version of imageArrayIndex.

nimageArrayIndexback to summary
public static void nimageArrayIndex(long struct, int value)

Unsafe version of imageArrayIndex.

nlayerFlagsback to summary
public static long nlayerFlags(long struct)

Unsafe version of layerFlags.

nlayerFlagsback to summary
public static void nlayerFlags(long struct, long value)

Unsafe version of layerFlags.

nnextback to summary
public static long nnext(long struct)

Unsafe version of next.

nnextback to summary
public static void nnext(long struct, long value)

Unsafe version of next.

norientationback to summary
public static XrQuaternionf norientation(long struct)

Unsafe version of orientation.

norientationback to summary
public static void norientation(long struct, XrQuaternionf value)

Unsafe version of orientation.

nspaceback to summary
public static long nspace(long struct)

Unsafe version of space.

nspaceback to summary
public static void nspace(long struct, XrSpace value)

Unsafe version of space.

nswapchainback to summary
public static long nswapchain(long struct)

Unsafe version of swapchain.

nswapchainback to summary
public static void nswapchain(long struct, XrSwapchain value)

Unsafe version of swapchain.

ntypeback to summary
public static int ntype(long struct)

Unsafe version of type.

ntypeback to summary
public static void ntype(long struct, int value)

Unsafe version of type.

orientationback to summary
public XrQuaternionf orientation()

the orientation of the environment map in the space.

orientationback to summary
public XrCompositionLayerCubeKHR orientation(XrQuaternionf value)

Copies the specified XrQuaternionf to the orientation field.

orientationback to summary
public XrCompositionLayerCubeKHR orientation(Consumer<XrQuaternionf> consumer)

Passes the orientation field to the specified Consumer.

setback to summary
public XrCompositionLayerCubeKHR set(int type, long next, long layerFlags, XrSpace space, int eyeVisibility, XrSwapchain swapchain, int imageArrayIndex, XrQuaternionf orientation)

Initializes this struct with the specified values.

setback to summary
public XrCompositionLayerCubeKHR set(XrCompositionLayerCubeKHR src)

Copies the specified struct data to this struct.

Parameters
src:XrCompositionLayerCubeKHR

the source struct

Returns:XrCompositionLayerCubeKHR

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
spaceback to summary
public long space()

the XrSpace in which the orientation of the cube layer is evaluated over time.

Annotations
@NativeType:XrSpace
spaceback to summary
public XrCompositionLayerCubeKHR space(XrSpace value)

Sets the specified value to the space field.

swapchainback to summary
public long swapchain()

the swapchain, which must have been created with a faceCount of 6.

Annotations
@NativeType:XrSwapchain
swapchainback to summary
public XrCompositionLayerCubeKHR swapchain(XrSwapchain value)

Sets the specified value to the swapchain field.

typeback to summary
public int type()

the XrStructureType of this structure.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrCompositionLayerCubeKHR type(int value)

Sets the specified value to the type field.

type$Defaultback to summary
public XrCompositionLayerCubeKHR type$Default()

Sets the TYPE_COMPOSITION_LAYER_CUBE_KHR value to the type field.

validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

org.lwjgl.openxr back to summary

public Class XrCompositionLayerCubeKHR.Buffer

extends StructBuffer<XrCompositionLayerCubeKHR, XrCompositionLayerCubeKHR.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of XrCompositionLayerCubeKHR structs.

Field Summary

Modifier and TypeField and Description
private static final XrCompositionLayerCubeKHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new XrCompositionLayerCubeKHR.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the XrCompositionLayerCubeKHR#eyeVisibility field.
eyeVisibility
()

public XrCompositionLayerCubeKHR.Buffer
eyeVisibility(int value)

Sets the specified value to the XrCompositionLayerCubeKHR#eyeVisibility field.

protected XrCompositionLayerCubeKHR
public int
public XrCompositionLayerCubeKHR.Buffer
imageArrayIndex(int value)

Sets the specified value to the XrCompositionLayerCubeKHR#imageArrayIndex field.

public long

Returns:

the value of the XrCompositionLayerCubeKHR#layerFlags field.
layerFlags
()

public XrCompositionLayerCubeKHR.Buffer
layerFlags(long value)

Sets the specified value to the XrCompositionLayerCubeKHR#layerFlags field.

public long

Returns:

the value of the XrCompositionLayerCubeKHR#next field.
next
()

public XrCompositionLayerCubeKHR.Buffer
next(long value)

Sets the specified value to the XrCompositionLayerCubeKHR#next field.

public XrQuaternionf
public XrCompositionLayerCubeKHR.Buffer
public XrCompositionLayerCubeKHR.Buffer
protected XrCompositionLayerCubeKHR.Buffer
public long

Returns:

the value of the XrCompositionLayerCubeKHR#space field.
space
()

public XrCompositionLayerCubeKHR.Buffer
space(XrSpace value)

Sets the specified value to the XrCompositionLayerCubeKHR#space field.

public long

Returns:

the value of the XrCompositionLayerCubeKHR#swapchain field.
swapchain
()

public XrCompositionLayerCubeKHR.Buffer
swapchain(XrSwapchain value)

Sets the specified value to the XrCompositionLayerCubeKHR#swapchain field.

public int

Returns:

the value of the XrCompositionLayerCubeKHR#type field.
type
()

public XrCompositionLayerCubeKHR.Buffer
type(int value)

Sets the specified value to the XrCompositionLayerCubeKHR#type field.

public XrCompositionLayerCubeKHR.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final XrCompositionLayerCubeKHR ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new XrCompositionLayerCubeKHR.Buffer instance 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 XrCompositionLayerCubeKHR#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

eyeVisibilityback to summary
public int eyeVisibility()
Returns:int

the value of the XrCompositionLayerCubeKHR#eyeVisibility field.

Annotations
@NativeType:XrEyeVisibility
eyeVisibilityback to summary
public XrCompositionLayerCubeKHR.Buffer eyeVisibility(int value)

Sets the specified value to the XrCompositionLayerCubeKHR#eyeVisibility field.

getElementFactoryback to summary
protected XrCompositionLayerCubeKHR getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
imageArrayIndexback to summary
public int imageArrayIndex()
Returns:int

the value of the XrCompositionLayerCubeKHR#imageArrayIndex field.

Annotations
@NativeType:uint32_t
imageArrayIndexback to summary
public XrCompositionLayerCubeKHR.Buffer imageArrayIndex(int value)

Sets the specified value to the XrCompositionLayerCubeKHR#imageArrayIndex field.

layerFlagsback to summary
public long layerFlags()
Returns:long

the value of the XrCompositionLayerCubeKHR#layerFlags field.

Annotations
@NativeType:XrCompositionLayerFlags
layerFlagsback to summary
public XrCompositionLayerCubeKHR.Buffer layerFlags(long value)

Sets the specified value to the XrCompositionLayerCubeKHR#layerFlags field.

nextback to summary
public long next()
Returns:long

the value of the XrCompositionLayerCubeKHR#next field.

Annotations
@NativeType:void const *
nextback to summary
public XrCompositionLayerCubeKHR.Buffer next(long value)

Sets the specified value to the XrCompositionLayerCubeKHR#next field.

orientationback to summary
public XrQuaternionf orientation()
Returns:XrQuaternionf

a XrQuaternionf view of the XrCompositionLayerCubeKHR#orientation field.

orientationback to summary
public XrCompositionLayerCubeKHR.Buffer orientation(XrQuaternionf value)

Copies the specified XrQuaternionf to the XrCompositionLayerCubeKHR#orientation field.

orientationback to summary
public XrCompositionLayerCubeKHR.Buffer orientation(Consumer<XrQuaternionf> consumer)

Passes the XrCompositionLayerCubeKHR#orientation field to the specified Consumer.

selfback to summary
protected XrCompositionLayerCubeKHR.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
spaceback to summary
public long space()
Returns:long

the value of the XrCompositionLayerCubeKHR#space field.

Annotations
@NativeType:XrSpace
spaceback to summary
public XrCompositionLayerCubeKHR.Buffer space(XrSpace value)

Sets the specified value to the XrCompositionLayerCubeKHR#space field.

swapchainback to summary
public long swapchain()
Returns:long

the value of the XrCompositionLayerCubeKHR#swapchain field.

Annotations
@NativeType:XrSwapchain
swapchainback to summary
public XrCompositionLayerCubeKHR.Buffer swapchain(XrSwapchain value)

Sets the specified value to the XrCompositionLayerCubeKHR#swapchain field.

typeback to summary
public int type()
Returns:int

the value of the XrCompositionLayerCubeKHR#type field.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrCompositionLayerCubeKHR.Buffer type(int value)

Sets the specified value to the XrCompositionLayerCubeKHR#type field.

type$Defaultback to summary
public XrCompositionLayerCubeKHR.Buffer type$Default()

Sets the TYPE_COMPOSITION_LAYER_CUBE_KHR value to the XrCompositionLayerCubeKHR#type field.