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.
XR_KHR_composition_layer_cube extension must be enabled prior to using XrCompositionLayerCubeKHRtype must be TYPE_COMPOSITION_LAYER_CUBE_KHRnext must be NULL or a valid pointer to the next structure in a structure chainlayerFlags must be 0 or a valid combination of XrCompositionLayerFlagBits valuesspace must be a valid XrSpace handleeyeVisibility must be a valid XrEyeVisibility valueswapchain must be a valid XrSwapchain handlespace and swapchain must have been created, allocated, or retrieved from the same XrSessionXrCompositionLayerBaseHeader, XrFrameEndInfo, XrQuaternionf, EndFrame
struct XrCompositionLayerCubeKHR {
XrStructureType type;
void const * next;
XrCompositionLayerFlags layerFlags;
XrSpace space;
XrEyeVisibility eyeVisibility;
XrSwapchain swapchain;
uint32_t imageArrayIndex;
XrQuaternionf orientation;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrCompositionLayerCubeKHR.
An array of |
| Modifier and Type | Field 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. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrCompositionLayerCubeKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrCompositionLayerCubeKHR | |
| public static XrCompositionLayerCubeKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrCompositionLayerCubeKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrCompositionLayerCubeKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| 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. the constructor, but returns the exact type of the Struct subclass.
|
| public static XrCompositionLayerCubeKHR | |
| public static XrCompositionLayerCubeKHR | create(long address)
Returns a new |
| public static XrCompositionLayerCubeKHR | create(XrCompositionLayerBaseHeader value)
Downcasts the specified |
| public static XrCompositionLayerCubeKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static XrCompositionLayerCubeKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrCompositionLayerCubeKHR. | create(XrCompositionLayerBaseHeader.
Downcasts the specified |
| public static XrCompositionLayerCubeKHR | |
| public static XrCompositionLayerCubeKHR. | |
| public int | |
| public XrCompositionLayerCubeKHR | |
| public int | |
| public XrCompositionLayerCubeKHR | |
| public long | |
| public XrCompositionLayerCubeKHR | |
| public static XrCompositionLayerCubeKHR | |
| public static XrCompositionLayerCubeKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrCompositionLayerCubeKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrCompositionLayerCubeKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public XrCompositionLayerCubeKHR | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static XrQuaternionf | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public XrQuaternionf | |
| public XrCompositionLayerCubeKHR | |
| public XrCompositionLayerCubeKHR | orientation(Consumer<XrQuaternionf> consumer)
Passes the |
| 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 structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public XrCompositionLayerCubeKHR | |
| public long | |
| public XrCompositionLayerCubeKHR | |
| public int | |
| public XrCompositionLayerCubeKHR | |
| public XrCompositionLayerCubeKHR | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| EYEVISIBILITY | back to summary |
|---|---|
| public static final int EYEVISIBILITY The struct member offsets. | |
| IMAGEARRAYINDEX | back to summary |
|---|---|
| public static final int IMAGEARRAYINDEX The struct member offsets. | |
| LAYERFLAGS | back to summary |
|---|---|
| public static final int LAYERFLAGS The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| ORIENTATION | back to summary |
|---|---|
| public static final int ORIENTATION The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SPACE | back to summary |
|---|---|
| public static final int SPACE The struct member offsets. | |
| SWAPCHAIN | back to summary |
|---|---|
| public static final int SWAPCHAIN The struct member offsets. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrCompositionLayerCubeKHR | back to summary |
|---|---|
| protected XrCompositionLayerCubeKHR(long address, ByteBuffer container) | |
| XrCompositionLayerCubeKHR | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrCompositionLayerCubeKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR create(XrCompositionLayerBaseHeader value) Downcasts the specified | |
| create | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR. Create a
| |
| create | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR. Downcasts the specified | |
| createSafe | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR. Like
| |
| eyeVisibility | back to summary |
|---|---|
| public int eyeVisibility() the eye represented by this layer.
| |
| eyeVisibility | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR eyeVisibility(int value) Sets the specified value to the | |
| imageArrayIndex | back to summary |
|---|---|
| public int imageArrayIndex() the image array index, with 0 meaning the first or only array element.
| |
| imageArrayIndex | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR imageArrayIndex(int value) Sets the specified value to the | |
| layerFlags | back to summary |
|---|---|
| public long layerFlags() any flags to apply to this layer.
| |
| layerFlags | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR layerFlags(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrCompositionLayerCubeKHR. Returns a new
| |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR next(long value) Sets the specified value to the | |
| neyeVisibility | back to summary |
|---|---|
| public static int neyeVisibility(long struct) Unsafe version of | |
| neyeVisibility | back to summary |
|---|---|
| public static void neyeVisibility(long struct, int value) Unsafe version of | |
| nimageArrayIndex | back to summary |
|---|---|
| public static int nimageArrayIndex(long struct) Unsafe version of | |
| nimageArrayIndex | back to summary |
|---|---|
| public static void nimageArrayIndex(long struct, int value) Unsafe version of | |
| nlayerFlags | back to summary |
|---|---|
| public static long nlayerFlags(long struct) Unsafe version of | |
| nlayerFlags | back to summary |
|---|---|
| public static void nlayerFlags(long struct, long value) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static long nnext(long struct) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static void nnext(long struct, long value) Unsafe version of | |
| norientation | back to summary |
|---|---|
| public static XrQuaternionf norientation(long struct) Unsafe version of | |
| norientation | back to summary |
|---|---|
| public static void norientation(long struct, XrQuaternionf value) Unsafe version of | |
| nspace | back to summary |
|---|---|
| public static long nspace(long struct) Unsafe version of | |
| nspace | back to summary |
|---|---|
| public static void nspace(long struct, XrSpace value) Unsafe version of | |
| nswapchain | back to summary |
|---|---|
| public static long nswapchain(long struct) Unsafe version of | |
| nswapchain | back to summary |
|---|---|
| public static void nswapchain(long struct, XrSwapchain value) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static void ntype(long struct, int value) Unsafe version of | |
| orientation | back to summary |
|---|---|
| public XrQuaternionf orientation() the orientation of the environment map in the | |
| orientation | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR orientation(XrQuaternionf value) Copies the specified | |
| orientation | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR orientation(Consumer<XrQuaternionf> consumer) Passes the | |
| set | back 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. | |
| set | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR set(XrCompositionLayerCubeKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| space | back to summary |
|---|---|
| public long space() the
| |
| space | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR space(XrSpace value) Sets the specified value to the | |
| swapchain | back to summary |
|---|---|
| public long swapchain() the swapchain, which must have been created with a
| |
| swapchain | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR swapchain(XrSwapchain value) Sets the specified value to the | |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR type$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
XrCompositionLayerCubeKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrCompositionLayerCubeKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrCompositionLayerCubeKHR ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| eyeVisibility | back to summary |
|---|---|
public int eyeVisibility()
| |
| eyeVisibility | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected XrCompositionLayerCubeKHR getElementFactory() Implements abstract org.
| |
| imageArrayIndex | back to summary |
|---|---|
public int imageArrayIndex()
| |
| imageArrayIndex | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Sets the specified value to the | |
| layerFlags | back to summary |
|---|---|
public long layerFlags()
| |
| layerFlags | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Sets the specified value to the | |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Sets the specified value to the | |
| orientation | back to summary |
|---|---|
public XrQuaternionf orientation()
| |
| orientation | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Copies the specified | |
| orientation | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Passes the | |
| self | back to summary |
|---|---|
| protected XrCompositionLayerCubeKHR. Implements abstract org.
| |
| space | back to summary |
|---|---|
public long space()
| |
| space | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Sets the specified value to the | |
| swapchain | back to summary |
|---|---|
public long swapchain()
| |
| swapchain | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Sets the specified value to the | |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrCompositionLayerCubeKHR. Sets the | |