swapchain must be a valid XrSwapchain handleXrCompositionLayerCylinderKHR, XrCompositionLayerDepthInfoKHR, XrCompositionLayerEquirect2KHR, XrCompositionLayerEquirectKHR, XrCompositionLayerProjectionView, XrCompositionLayerQuad, XrCompositionLayerSpaceWarpInfoFB, XrFoveationApplyInfoHTC, XrFrameEndInfo, XrRect2Di
struct XrSwapchainSubImage {
XrSwapchain swapchain;
XrRect2Di imageRect;
uint32_t imageArrayIndex;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrSwapchainSubImage.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | IMAGEARRAYINDEX
The struct member offsets. |
| public static final int | IMAGERECT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SWAPCHAIN
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSwapchainSubImage(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrSwapchainSubImage | |
| public static XrSwapchainSubImage. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSwapchainSubImage | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSwapchainSubImage. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSwapchainSubImage | 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 XrSwapchainSubImage | |
| public static XrSwapchainSubImage | |
| public static XrSwapchainSubImage. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSwapchainSubImage. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrSwapchainSubImage | |
| public static XrSwapchainSubImage. | |
| public int | |
| public XrSwapchainSubImage | |
| public XrRect2Di | |
| public XrSwapchainSubImage | |
| public XrSwapchainSubImage | |
| public static XrSwapchainSubImage | |
| public static XrSwapchainSubImage. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSwapchainSubImage | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSwapchainSubImage. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static XrRect2Di | |
| public static void | |
| public static long | |
| public static void | |
| public XrSwapchainSubImage | set(XrSwapchain swapchain, XrRect2Di imageRect, int imageArrayIndex)
Initializes this struct with the specified values. |
| public XrSwapchainSubImage | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public XrSwapchainSubImage | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| IMAGEARRAYINDEX | back to summary |
|---|---|
| public static final int IMAGEARRAYINDEX The struct member offsets. | |
| IMAGERECT | back to summary |
|---|---|
| public static final int IMAGERECT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SWAPCHAIN | back to summary |
|---|---|
| public static final int SWAPCHAIN The struct member offsets. | |
| XrSwapchainSubImage | back to summary |
|---|---|
| protected XrSwapchainSubImage(long address, ByteBuffer container) | |
| XrSwapchainSubImage | back to summary |
|---|---|
| public XrSwapchainSubImage(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrSwapchainSubImage calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrSwapchainSubImage. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSwapchainSubImage calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSwapchainSubImage. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrSwapchainSubImage create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrSwapchainSubImage create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrSwapchainSubImage create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrSwapchainSubImage. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrSwapchainSubImage. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrSwapchainSubImage createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrSwapchainSubImage. Like
| |
| 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 XrSwapchainSubImage imageArrayIndex(int value) Sets the specified value to the | |
| imageRect | back to summary |
|---|---|
| public XrRect2Di imageRect() an | |
| imageRect | back to summary |
|---|---|
| public XrSwapchainSubImage imageRect(XrRect2Di value) | |
| imageRect | back to summary |
|---|---|
| public XrSwapchainSubImage imageRect(Consumer<XrRect2Di> consumer) | |
| malloc | back to summary |
|---|---|
| public static XrSwapchainSubImage malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrSwapchainSubImage. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSwapchainSubImage malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSwapchainSubImage. Returns a new
| |
| 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 | |
| nimageRect | back to summary |
|---|---|
| public static XrRect2Di nimageRect(long struct) Unsafe version of | |
| nimageRect | back to summary |
|---|---|
| public static void nimageRect(long struct, XrRect2Di 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 | |
| set | back to summary |
|---|---|
| public XrSwapchainSubImage set(XrSwapchain swapchain, XrRect2Di imageRect, int imageArrayIndex) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrSwapchainSubImage set(XrSwapchainSubImage src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| swapchain | back to summary |
|---|---|
| public long swapchain() the
| |
| swapchain | back to summary |
|---|---|
| public XrSwapchainSubImage swapchain(XrSwapchain value) Sets the specified value to the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
XrSwapchainSubImage structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrSwapchainSubImage |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected XrSwapchainSubImage | |
| public int | |
| public XrSwapchainSubImage. | imageArrayIndex(int value)
Sets the specified value to the |
| public XrRect2Di | |
| public XrSwapchainSubImage. | imageRect(XrRect2Di value)
Copies the specified |
| public XrSwapchainSubImage. | imageRect(Consumer<XrRect2Di> consumer)
Passes the |
| protected XrSwapchainSubImage. | |
| public long | |
| public XrSwapchainSubImage. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrSwapchainSubImage 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) | |
| getElementFactory | back to summary |
|---|---|
| protected XrSwapchainSubImage getElementFactory() Implements abstract org.
| |
| imageArrayIndex | back to summary |
|---|---|
public int imageArrayIndex()
| |
| imageArrayIndex | back to summary |
|---|---|
| public XrSwapchainSubImage. Sets the specified value to the | |
| imageRect | back to summary |
|---|---|
public XrRect2Di imageRect()
| |
| imageRect | back to summary |
|---|---|
| public XrSwapchainSubImage. Copies the specified | |
| imageRect | back to summary |
|---|---|
| public XrSwapchainSubImage. Passes the | |
| self | back to summary |
|---|---|
| protected XrSwapchainSubImage. Implements abstract org.
| |
| swapchain | back to summary |
|---|---|
public long swapchain()
| |
| swapchain | back to summary |
|---|---|
| public XrSwapchainSubImage. Sets the specified value to the | |