The application should set the following configurations in XrFoveationApplyInfoHTC:
XrSwapchainSubImage to the corresponding view.The faceCount of XrSwapchain in XrSwapchainSubImage must be 1 since this extension does not support cubemaps.
If mode is FOVEATION_MODE_DYNAMIC_HTC, the next chain for this structure must include XrFoveationDynamicModeInfoHTC structure.
If mode is FOVEATION_MODE_CUSTOM_HTC, the next chain for this structure must include XrFoveationCustomModeInfoHTC structure.
The order of subImages must be the same order as in XrCompositionLayerProjectionView when submitted in EndFrame.
XR_HTC_foveation extension must be enabled prior to using XrFoveationApplyInfoHTCtype must be TYPE_FOVEATION_APPLY_INFO_HTCnext must be NULL or a valid pointer to the next structure in a structure chain. See also: XrFoveationCustomModeInfoHTC, XrFoveationDynamicModeInfoHTCmode must be a valid XrFoveationModeHTC valuesubImages must be a pointer to an array of subImageCount XrSwapchainSubImage structuressubImageCount parameter must be greater than 0XrSwapchainSubImage, ApplyFoveationHTC
struct XrFoveationApplyInfoHTC {
XrStructureType type;
void const * next;
XrFoveationModeHTC mode;
uint32_t subImageCount;
XrSwapchainSubImage * subImages;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrFoveationApplyInfoHTC.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | MODE
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SUBIMAGECOUNT
The struct member offsets. |
| public static final int | SUBIMAGES
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrFoveationApplyInfoHTC(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrFoveationApplyInfoHTC | |
| public static XrFoveationApplyInfoHTC. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrFoveationApplyInfoHTC | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrFoveationApplyInfoHTC. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrFoveationApplyInfoHTC | 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 XrFoveationApplyInfoHTC | |
| public static XrFoveationApplyInfoHTC | create(long address)
Returns a new |
| public static XrFoveationApplyInfoHTC. | create(int
the buffer capacity capacity)Returns a new |
| public static XrFoveationApplyInfoHTC. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrFoveationApplyInfoHTC | |
| public static XrFoveationApplyInfoHTC. | |
| public static XrFoveationApplyInfoHTC | |
| public static XrFoveationApplyInfoHTC. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrFoveationApplyInfoHTC | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrFoveationApplyInfoHTC. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public XrFoveationApplyInfoHTC | |
| public long | |
| public XrFoveationApplyInfoHTC | |
| public XrFoveationApplyInfoHTC | next(XrFoveationCustomModeInfoHTC value)
Prepends the specified |
| public XrFoveationApplyInfoHTC | next(XrFoveationDynamicModeInfoHTC value)
Prepends the specified |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | nsubImageCount(long struct, int value)
Sets the specified value to the |
| public static XrSwapchainSubImage. | |
| public static void | |
| public static int | |
| public static void | |
| public XrFoveationApplyInfoHTC | set(int type, long next, int mode, XrSwapchainSubImage.
Initializes this struct with the specified values. |
| public XrFoveationApplyInfoHTC | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrSwapchainSubImage. | |
| public XrFoveationApplyInfoHTC | subImages(XrSwapchainSubImage.
Sets the address of the specified |
| public int | |
| public XrFoveationApplyInfoHTC | |
| public XrFoveationApplyInfoHTC | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| MODE | back to summary |
|---|---|
| public static final int MODE The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SUBIMAGECOUNT | back to summary |
|---|---|
| public static final int SUBIMAGECOUNT The struct member offsets. | |
| SUBIMAGES | back to summary |
|---|---|
| public static final int SUBIMAGES The struct member offsets. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrFoveationApplyInfoHTC | back to summary |
|---|---|
| protected XrFoveationApplyInfoHTC(long address, ByteBuffer container) | |
| XrFoveationApplyInfoHTC | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrFoveationApplyInfoHTC create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC. Like
| |
| malloc | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrFoveationApplyInfoHTC. Returns a new
| |
| mode | back to summary |
|---|---|
| public int mode() an
| |
| mode | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC mode(int value) Sets the specified value to the | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC next(long value) Sets the specified value to the | |
| next | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC next(XrFoveationCustomModeInfoHTC value) Prepends the specified | |
| next | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC next(XrFoveationDynamicModeInfoHTC value) Prepends the specified | |
| nmode | back to summary |
|---|---|
| public static int nmode(long struct) Unsafe version of | |
| nmode | back to summary |
|---|---|
| public static void nmode(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 | |
| nsubImageCount | back to summary |
|---|---|
| public static int nsubImageCount(long struct) Unsafe version of | |
| nsubImageCount | back to summary |
|---|---|
| public static void nsubImageCount(long struct, int value) Sets the specified value to the | |
| nsubImages | back to summary |
|---|---|
| public static XrSwapchainSubImage. Unsafe version of | |
| nsubImages | back to summary |
|---|---|
| public static void nsubImages(long struct, XrSwapchainSubImage. 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 | |
| set | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC set(int type, long next, int mode, XrSwapchainSubImage. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC set(XrFoveationApplyInfoHTC src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| subImageCount | back to summary |
|---|---|
| public int subImageCount() the count of
| |
| subImages | back to summary |
|---|---|
| public XrSwapchainSubImage. an array of
| |
| subImages | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC subImages(XrSwapchainSubImage. Sets the address of the specified | |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC type$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
XrFoveationApplyInfoHTC structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrFoveationApplyInfoHTC |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrFoveationApplyInfoHTC 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 XrFoveationApplyInfoHTC getElementFactory() Implements abstract org.
| |
| mode | back to summary |
|---|---|
public int mode()
| |
| mode | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC. Sets the specified value to the | |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC. Sets the specified value to the | |
| next | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC. Prepends the specified | |
| next | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC. Prepends the specified | |
| self | back to summary |
|---|---|
| protected XrFoveationApplyInfoHTC. Implements abstract org.
| |
| subImageCount | back to summary |
|---|---|
public int subImageCount()
| |
| subImages | back to summary |
|---|---|
public XrSwapchainSubImage.
| |
| subImages | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC. Sets the address of the specified | |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrFoveationApplyInfoHTC. Sets the | |