See XrSwapchainSubImage for more information about imageRect values, and XrSwapchainCreateInfo for more information about creating swapchains appropriately sized to support those imageRect values.
The array of XrViewConfigurationView returned by the runtime must adhere to the rules defined in XrViewConfigurationType, such as the count and association to the left and right eyes.
type must be TYPE_VIEW_CONFIGURATION_VIEWnext must be NULL or a valid pointer to the next structure in a structure chain. See also: XrFoveatedViewConfigurationViewVARJO, XrViewConfigurationDepthRangeEXT, XrViewConfigurationViewFovEPICXrViewConfigurationProperties, EnumerateViewConfigurationViews
struct XrViewConfigurationView {
XrStructureType type;
void * next;
uint32_t recommendedImageRectWidth;
uint32_t maxImageRectWidth;
uint32_t recommendedImageRectHeight;
uint32_t maxImageRectHeight;
uint32_t recommendedSwapchainSampleCount;
uint32_t maxSwapchainSampleCount;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrViewConfigurationView.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MAXIMAGERECTHEIGHT
The struct member offsets. |
| public static final int | MAXIMAGERECTWIDTH
The struct member offsets. |
| public static final int | MAXSWAPCHAINSAMPLECOUNT
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | RECOMMENDEDIMAGERECTHEIGHT
The struct member offsets. |
| public static final int | RECOMMENDEDIMAGERECTWIDTH
The struct member offsets. |
| public static final int | RECOMMENDEDSWAPCHAINSAMPLECOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrViewConfigurationView(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrViewConfigurationView | |
| public static XrViewConfigurationView. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrViewConfigurationView | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrViewConfigurationView. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrViewConfigurationView | 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 XrViewConfigurationView | |
| public static XrViewConfigurationView | create(long address)
Returns a new |
| public static XrViewConfigurationView. | create(int
the buffer capacity capacity)Returns a new |
| public static XrViewConfigurationView. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrViewConfigurationView | |
| public static XrViewConfigurationView. | |
| public static XrViewConfigurationView | |
| public static XrViewConfigurationView. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrViewConfigurationView | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrViewConfigurationView. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | maxImageRectHeight()
the maximum height of |
| public XrViewConfigurationView | |
| public int | maxImageRectWidth()
the maximum width of |
| public XrViewConfigurationView | |
| public int | maxSwapchainSampleCount()
the maximum number of sub-data element samples supported for swapchain images that will be rendered into for this view. |
| public XrViewConfigurationView | |
| public long | |
| public XrViewConfigurationView | |
| public XrViewConfigurationView | next(XrFoveatedViewConfigurationViewVARJO value)
Prepends the specified |
| public XrViewConfigurationView | next(XrViewConfigurationDepthRangeEXT value)
Prepends the specified |
| public XrViewConfigurationView | next(XrViewConfigurationViewFovEPIC value)
Prepends the specified |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | nrecommendedSwapchainSampleCount(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public int | recommendedImageRectHeight()
the optimal height of |
| public XrViewConfigurationView | recommendedImageRectHeight(int value)
Sets the specified value to the |
| public int | recommendedImageRectWidth()
the optimal width of |
| public XrViewConfigurationView | recommendedImageRectWidth(int value)
Sets the specified value to the |
| public int | recommendedSwapchainSampleCount()
the recommended number of sub-data element samples to create for each swapchain image that will be rendered into for this view. |
| public XrViewConfigurationView | recommendedSwapchainSampleCount(int value)
Sets the specified value to the |
| public XrViewConfigurationView | set(int type, long next, int recommendedImageRectWidth, int maxImageRectWidth, int recommendedImageRectHeight, int maxImageRectHeight, int recommendedSwapchainSampleCount, int maxSwapchainSampleCount)
Initializes this struct with the specified values. |
| public XrViewConfigurationView | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrViewConfigurationView | |
| public XrViewConfigurationView |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MAXIMAGERECTHEIGHT | back to summary |
|---|---|
| public static final int MAXIMAGERECTHEIGHT The struct member offsets. | |
| MAXIMAGERECTWIDTH | back to summary |
|---|---|
| public static final int MAXIMAGERECTWIDTH The struct member offsets. | |
| MAXSWAPCHAINSAMPLECOUNT | back to summary |
|---|---|
| public static final int MAXSWAPCHAINSAMPLECOUNT The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| RECOMMENDEDIMAGERECTHEIGHT | back to summary |
|---|---|
| public static final int RECOMMENDEDIMAGERECTHEIGHT The struct member offsets. | |
| RECOMMENDEDIMAGERECTWIDTH | back to summary |
|---|---|
| public static final int RECOMMENDEDIMAGERECTWIDTH The struct member offsets. | |
| RECOMMENDEDSWAPCHAINSAMPLECOUNT | back to summary |
|---|---|
| public static final int RECOMMENDEDSWAPCHAINSAMPLECOUNT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrViewConfigurationView | back to summary |
|---|---|
| protected XrViewConfigurationView(long address, ByteBuffer container) | |
| XrViewConfigurationView | back to summary |
|---|---|
| public XrViewConfigurationView(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrViewConfigurationView calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrViewConfigurationView. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrViewConfigurationView calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrViewConfigurationView. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrViewConfigurationView create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrViewConfigurationView create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrViewConfigurationView create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrViewConfigurationView. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrViewConfigurationView. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrViewConfigurationView createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrViewConfigurationView. Like
| |
| malloc | back to summary |
|---|---|
| public static XrViewConfigurationView malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrViewConfigurationView. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrViewConfigurationView malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrViewConfigurationView. Returns a new
| |
| maxImageRectHeight | back to summary |
|---|---|
| public int maxImageRectHeight() the maximum height of
| |
| maxImageRectHeight | back to summary |
|---|---|
| public XrViewConfigurationView maxImageRectHeight(int value) Sets the specified value to the | |
| maxImageRectWidth | back to summary |
|---|---|
| public int maxImageRectWidth() the maximum width of
| |
| maxImageRectWidth | back to summary |
|---|---|
| public XrViewConfigurationView maxImageRectWidth(int value) Sets the specified value to the | |
| maxSwapchainSampleCount | back to summary |
|---|---|
| public int maxSwapchainSampleCount() the maximum number of sub-data element samples supported for swapchain images that will be rendered into for this view.
| |
| maxSwapchainSampleCount | back to summary |
|---|---|
| public XrViewConfigurationView maxSwapchainSampleCount(int value) Sets the specified value to the | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrViewConfigurationView next(long value) Sets the specified value to the | |
| next | back to summary |
|---|---|
| public XrViewConfigurationView next(XrFoveatedViewConfigurationViewVARJO value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrViewConfigurationView next(XrViewConfigurationDepthRangeEXT value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrViewConfigurationView next(XrViewConfigurationViewFovEPIC value) Prepends the specified | |
| nmaxImageRectHeight | back to summary |
|---|---|
| public static int nmaxImageRectHeight(long struct) Unsafe version of | |
| nmaxImageRectHeight | back to summary |
|---|---|
| public static void nmaxImageRectHeight(long struct, int value) Unsafe version of | |
| nmaxImageRectWidth | back to summary |
|---|---|
| public static int nmaxImageRectWidth(long struct) Unsafe version of | |
| nmaxImageRectWidth | back to summary |
|---|---|
| public static void nmaxImageRectWidth(long struct, int value) Unsafe version of | |
| nmaxSwapchainSampleCount | back to summary |
|---|---|
| public static int nmaxSwapchainSampleCount(long struct) Unsafe version of | |
| nmaxSwapchainSampleCount | back to summary |
|---|---|
| public static void nmaxSwapchainSampleCount(long struct, int 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 | |
| nrecommendedImageRectHeight | back to summary |
|---|---|
| public static int nrecommendedImageRectHeight(long struct) Unsafe version of | |
| nrecommendedImageRectHeight | back to summary |
|---|---|
| public static void nrecommendedImageRectHeight(long struct, int value) Unsafe version of | |
| nrecommendedImageRectWidth | back to summary |
|---|---|
| public static int nrecommendedImageRectWidth(long struct) Unsafe version of | |
| nrecommendedImageRectWidth | back to summary |
|---|---|
| public static void nrecommendedImageRectWidth(long struct, int value) Unsafe version of | |
| nrecommendedSwapchainSampleCount | back to summary |
|---|---|
| public static int nrecommendedSwapchainSampleCount(long struct) Unsafe version of | |
| nrecommendedSwapchainSampleCount | back to summary |
|---|---|
| public static void nrecommendedSwapchainSampleCount(long struct, int 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 | |
| recommendedImageRectHeight | back to summary |
|---|---|
| public int recommendedImageRectHeight() the optimal height of
| |
| recommendedImageRectHeight | back to summary |
|---|---|
| public XrViewConfigurationView recommendedImageRectHeight(int value) Sets the specified value to the | |
| recommendedImageRectWidth | back to summary |
|---|---|
| public int recommendedImageRectWidth() the optimal width of
| |
| recommendedImageRectWidth | back to summary |
|---|---|
| public XrViewConfigurationView recommendedImageRectWidth(int value) Sets the specified value to the | |
| recommendedSwapchainSampleCount | back to summary |
|---|---|
| public int recommendedSwapchainSampleCount() the recommended number of sub-data element samples to create for each swapchain image that will be rendered into for this view.
| |
| recommendedSwapchainSampleCount | back to summary |
|---|---|
| public XrViewConfigurationView recommendedSwapchainSampleCount(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XrViewConfigurationView set(int type, long next, int recommendedImageRectWidth, int maxImageRectWidth, int recommendedImageRectHeight, int maxImageRectHeight, int recommendedSwapchainSampleCount, int maxSwapchainSampleCount) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrViewConfigurationView set(XrViewConfigurationView src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrViewConfigurationView type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrViewConfigurationView type$Default() Sets the | |
XrViewConfigurationView structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrViewConfigurationView |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrViewConfigurationView 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 XrViewConfigurationView getElementFactory() Implements abstract org.
| |
| maxImageRectHeight | back to summary |
|---|---|
public int maxImageRectHeight()
| |
| maxImageRectHeight | back to summary |
|---|---|
| public XrViewConfigurationView. Sets the specified value to the | |
| maxImageRectWidth | back to summary |
|---|---|
public int maxImageRectWidth()
| |
| maxImageRectWidth | back to summary |
|---|---|
| public XrViewConfigurationView. Sets the specified value to the | |
| maxSwapchainSampleCount | back to summary |
|---|---|
public int maxSwapchainSampleCount()
| |
| maxSwapchainSampleCount | back to summary |
|---|---|
| public XrViewConfigurationView. Sets the specified value to the | |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrViewConfigurationView. Sets the specified value to the | |
| next | back to summary |
|---|---|
| public XrViewConfigurationView. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrViewConfigurationView. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrViewConfigurationView. Prepends the specified | |
| recommendedImageRectHeight | back to summary |
|---|---|
public int recommendedImageRectHeight()
| |
| recommendedImageRectHeight | back to summary |
|---|---|
| public XrViewConfigurationView. Sets the specified value to the | |
| recommendedImageRectWidth | back to summary |
|---|---|
public int recommendedImageRectWidth()
| |
| recommendedImageRectWidth | back to summary |
|---|---|
| public XrViewConfigurationView. Sets the specified value to the | |
| recommendedSwapchainSampleCount | back to summary |
|---|---|
public int recommendedSwapchainSampleCount()
| |
| recommendedSwapchainSampleCount | back to summary |
|---|---|
| public XrViewConfigurationView. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrViewConfigurationView. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrViewConfigurationView. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrViewConfigurationView. Sets the | |