XR_HTC_foveation extension must be enabled prior to using XrFoveationConfigurationHTClevel must be a valid XrFoveationLevelHTC valueXrFoveationCustomModeInfoHTC, XrVector2f
struct XrFoveationConfigurationHTC {
XrFoveationLevelHTC level;
float clearFovDegree;
XrVector2f focalCenterOffset;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrFoveationConfigurationHTC.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CLEARFOVDEGREE
The struct member offsets. |
| public static final int | FOCALCENTEROFFSET
The struct member offsets. |
| public static final int | LEVEL
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrFoveationConfigurationHTC(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrFoveationConfigurationHTC | |
| public static XrFoveationConfigurationHTC. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrFoveationConfigurationHTC | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrFoveationConfigurationHTC. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public float | clearFovDegree()
the value indicating the total horizontal and vertical field angle with the original pixel density level. |
| public XrFoveationConfigurationHTC | |
| protected XrFoveationConfigurationHTC | 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 XrFoveationConfigurationHTC | |
| public static XrFoveationConfigurationHTC | create(long address)
Returns a new |
| public static XrFoveationConfigurationHTC. | create(int
the buffer capacity capacity)Returns a new |
| public static XrFoveationConfigurationHTC. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrFoveationConfigurationHTC | |
| public static XrFoveationConfigurationHTC. | |
| public XrVector2f | focalCenterOffset()
the desired center offset of the field of view in NDC(normalized device coordinates) space. |
| public XrFoveationConfigurationHTC | |
| public XrFoveationConfigurationHTC | focalCenterOffset(Consumer<XrVector2f> consumer)
Passes the |
| public int | |
| public XrFoveationConfigurationHTC | |
| public static XrFoveationConfigurationHTC | |
| public static XrFoveationConfigurationHTC. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrFoveationConfigurationHTC | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrFoveationConfigurationHTC. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static float | |
| public static void | |
| public static XrVector2f | |
| public static void | |
| public static int | |
| public static void | |
| public XrFoveationConfigurationHTC | set(int level, float clearFovDegree, XrVector2f focalCenterOffset)
Initializes this struct with the specified values. |
| public XrFoveationConfigurationHTC | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CLEARFOVDEGREE | back to summary |
|---|---|
| public static final int CLEARFOVDEGREE The struct member offsets. | |
| FOCALCENTEROFFSET | back to summary |
|---|---|
| public static final int FOCALCENTEROFFSET The struct member offsets. | |
| LEVEL | back to summary |
|---|---|
| public static final int LEVEL The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| XrFoveationConfigurationHTC | back to summary |
|---|---|
| protected XrFoveationConfigurationHTC(long address, ByteBuffer container) | |
| XrFoveationConfigurationHTC | back to summary |
|---|---|
| public XrFoveationConfigurationHTC(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC. Returns a new
| |
| clearFovDegree | back to summary |
|---|---|
| public float clearFovDegree() the value indicating the total horizontal and vertical field angle with the original pixel density level. | |
| clearFovDegree | back to summary |
|---|---|
| public XrFoveationConfigurationHTC clearFovDegree(float value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected XrFoveationConfigurationHTC create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC. Like
| |
| focalCenterOffset | back to summary |
|---|---|
| public XrVector2f focalCenterOffset() the desired center offset of the field of view in NDC(normalized device coordinates) space. The x and y of | |
| focalCenterOffset | back to summary |
|---|---|
| public XrFoveationConfigurationHTC focalCenterOffset(XrVector2f value) Copies the specified | |
| focalCenterOffset | back to summary |
|---|---|
| public XrFoveationConfigurationHTC focalCenterOffset(Consumer<XrVector2f> consumer) Passes the | |
| level | back to summary |
|---|---|
| public int level() the pixel density drop level of periphery area specified by
| |
| level | back to summary |
|---|---|
| public XrFoveationConfigurationHTC level(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrFoveationConfigurationHTC. Returns a new
| |
| nclearFovDegree | back to summary |
|---|---|
| public static float nclearFovDegree(long struct) Unsafe version of | |
| nclearFovDegree | back to summary |
|---|---|
| public static void nclearFovDegree(long struct, float value) Unsafe version of | |
| nfocalCenterOffset | back to summary |
|---|---|
| public static XrVector2f nfocalCenterOffset(long struct) Unsafe version of | |
| nfocalCenterOffset | back to summary |
|---|---|
| public static void nfocalCenterOffset(long struct, XrVector2f value) Unsafe version of | |
| nlevel | back to summary |
|---|---|
| public static int nlevel(long struct) Unsafe version of | |
| nlevel | back to summary |
|---|---|
| public static void nlevel(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public XrFoveationConfigurationHTC set(int level, float clearFovDegree, XrVector2f focalCenterOffset) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrFoveationConfigurationHTC set(XrFoveationConfigurationHTC src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
XrFoveationConfigurationHTC structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrFoveationConfigurationHTC |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public XrFoveationConfigurationHTC. | clearFovDegree(float value)
Sets the specified value to the |
| public XrVector2f | |
| public XrFoveationConfigurationHTC. | focalCenterOffset(XrVector2f value)
Copies the specified |
| public XrFoveationConfigurationHTC. | focalCenterOffset(Consumer<XrVector2f> consumer)
Passes the |
| protected XrFoveationConfigurationHTC | |
| public int | |
| public XrFoveationConfigurationHTC. | |
| protected XrFoveationConfigurationHTC. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrFoveationConfigurationHTC 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) | |
| clearFovDegree | back to summary |
|---|---|
public float clearFovDegree()
| |
| clearFovDegree | back to summary |
|---|---|
| public XrFoveationConfigurationHTC. Sets the specified value to the | |
| focalCenterOffset | back to summary |
|---|---|
public XrVector2f focalCenterOffset()
| |
| focalCenterOffset | back to summary |
|---|---|
| public XrFoveationConfigurationHTC. Copies the specified | |
| focalCenterOffset | back to summary |
|---|---|
| public XrFoveationConfigurationHTC. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected XrFoveationConfigurationHTC getElementFactory() Implements abstract org.
| |
| level | back to summary |
|---|---|
public int level()
| |
| level | back to summary |
|---|---|
| public XrFoveationConfigurationHTC. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrFoveationConfigurationHTC. Implements abstract org.
| |