BeginSession indicating supported view configuration types.
If there are any duplicated view configuration types in the array of enabledViewConfigurationTypes, the runtime must return error ERROR_VALIDATION_FAILURE.
If there are any primary view configuration types in the array of enabledViewConfigurationTypes, the runtime must return error ERROR_VALIDATION_FAILURE.
If there are any secondary view configuration types not returned by EnumerateViewConfigurations in the array of enabledViewConfigurationTypes, the runtime must return error ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED.
XR_MSFT_secondary_view_configuration extension must be enabled prior to using XrSecondaryViewConfigurationSessionBeginInfoMSFTtype must be TYPE_SECONDARY_VIEW_CONFIGURATION_SESSION_BEGIN_INFO_MSFTnext must be NULL or a valid pointer to the next structure in a structure chainenabledViewConfigurationTypes must be a pointer to an array of viewConfigurationCount valid XrViewConfigurationType valuesviewConfigurationCount parameter must be greater than 0
struct XrSecondaryViewConfigurationSessionBeginInfoMSFT {
XrStructureType type;
void const * next;
uint32_t viewConfigurationCount;
XrViewConfigurationType const * enabledViewConfigurationTypes;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ENABLEDVIEWCONFIGURATIONTYPES
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 | TYPE
The struct member offsets. |
| public static final int | VIEWCONFIGURATIONCOUNT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSecondaryViewConfigurationSessionBeginInfoMSFT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT | |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSecondaryViewConfigurationSessionBeginInfoMSFT | 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 XrSecondaryViewConfigurationSessionBeginInfoMSFT | create()
Returns a new |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT | create(long address)
Returns a new |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT | |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. | |
| public IntBuffer | enabledViewConfigurationTypes()
an array of enabled secondary view configuration types that application supports. |
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT | enabledViewConfigurationTypes(IntBuffer value)
Sets the address of the specified |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT | |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static IntBuffer | |
| public static void | nenabledViewConfigurationTypes(long struct, IntBuffer value)
Unsafe version of |
| public long | |
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | nviewConfigurationCount(long struct, int value)
Sets the specified value to the |
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT | |
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT | |
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT | type$Default()
Sets the |
| public static void | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ENABLEDVIEWCONFIGURATIONTYPES | back to summary |
|---|---|
| public static final int ENABLEDVIEWCONFIGURATIONTYPES 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. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| VIEWCONFIGURATIONCOUNT | back to summary |
|---|---|
| public static final int VIEWCONFIGURATIONCOUNT The struct member offsets. | |
| XrSecondaryViewConfigurationSessionBeginInfoMSFT | back to summary |
|---|---|
| protected XrSecondaryViewConfigurationSessionBeginInfoMSFT(long address, ByteBuffer container) | |
| XrSecondaryViewConfigurationSessionBeginInfoMSFT | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrSecondaryViewConfigurationSessionBeginInfoMSFT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. Like
| |
| enabledViewConfigurationTypes | back to summary |
|---|---|
| public IntBuffer enabledViewConfigurationTypes() an array of enabled secondary view configuration types that application supports.
| |
| enabledViewConfigurationTypes | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT enabledViewConfigurationTypes(IntBuffer value) Sets the address of the specified | |
| malloc | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSecondaryViewConfigurationSessionBeginInfoMSFT. Returns a new
| |
| nenabledViewConfigurationTypes | back to summary |
|---|---|
| public static IntBuffer nenabledViewConfigurationTypes(long struct) Unsafe version of | |
| nenabledViewConfigurationTypes | back to summary |
|---|---|
| public static void nenabledViewConfigurationTypes(long struct, IntBuffer value) Unsafe version of | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT next(long value) Sets the specified value to the | |
| 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 | |
| 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 | |
| nviewConfigurationCount | back to summary |
|---|---|
| public static int nviewConfigurationCount(long struct) Unsafe version of | |
| nviewConfigurationCount | back to summary |
|---|---|
| public static void nviewConfigurationCount(long struct, int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT set(int type, long next, IntBuffer enabledViewConfigurationTypes) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT set(XrSecondaryViewConfigurationSessionBeginInfoMSFT 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 XrSecondaryViewConfigurationSessionBeginInfoMSFT type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT type$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
| viewConfigurationCount | back to summary |
|---|---|
| public int viewConfigurationCount() the number of elements in
| |
XrSecondaryViewConfigurationSessionBeginInfoMSFT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrSecondaryViewConfigurationSessionBeginInfoMSFT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrSecondaryViewConfigurationSessionBeginInfoMSFT 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) | |
| enabledViewConfigurationTypes | back to summary |
|---|---|
public IntBuffer enabledViewConfigurationTypes()
| |
| enabledViewConfigurationTypes | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT. Sets the address of the specified | |
| getElementFactory | back to summary |
|---|---|
| protected XrSecondaryViewConfigurationSessionBeginInfoMSFT getElementFactory() Implements abstract org.
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrSecondaryViewConfigurationSessionBeginInfoMSFT. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSecondaryViewConfigurationSessionBeginInfoMSFT. Sets the | |
| viewConfigurationCount | back to summary |
|---|---|
public int viewConfigurationCount()
| |