type must be TYPE_API_LAYER_PROPERTIESnext must be NULL or a valid pointer to the next structure in a structure chain
struct XrApiLayerProperties {
XrStructureType type;
void * next;
char layerName[XR_MAX_API_LAYER_NAME_SIZE];
XrVersion specVersion;
uint32_t layerVersion;
char description[XR_MAX_API_LAYER_DESCRIPTION_SIZE];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrApiLayerProperties.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DESCRIPTION
The struct member offsets. |
| public static final int | LAYERNAME
The struct member offsets. |
| public static final int | LAYERVERSION
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 | SPECVERSION
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrApiLayerProperties(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrApiLayerProperties | |
| public static XrApiLayerProperties. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrApiLayerProperties | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrApiLayerProperties. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrApiLayerProperties | 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 XrApiLayerProperties | |
| public static XrApiLayerProperties | |
| public static XrApiLayerProperties. | create(int
the buffer capacity capacity)Returns a new |
| public static XrApiLayerProperties. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrApiLayerProperties | |
| public static XrApiLayerProperties. | |
| public ByteBuffer | description()
a string providing additional details that can be used by the application to identify the API layer. |
| public String | descriptionString()
a string providing additional details that can be used by the application to identify the API layer. |
| public ByteBuffer | |
| public String | |
| public int | |
| public static XrApiLayerProperties | |
| public static XrApiLayerProperties. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrApiLayerProperties | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrApiLayerProperties. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ByteBuffer | |
| public static String | |
| public long | |
| public XrApiLayerProperties | |
| public static ByteBuffer | |
| public static String | |
| public static int | |
| public static long | |
| public static void | |
| public static long | |
| public static int | |
| public static void | |
| public XrApiLayerProperties | |
| public XrApiLayerProperties | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | specVersion()
the API version the API layer was written to, encoded as described in the API Version Numbers and Semantics section. |
| public int | |
| public XrApiLayerProperties | |
| public XrApiLayerProperties |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DESCRIPTION | back to summary |
|---|---|
| public static final int DESCRIPTION The struct member offsets. | |
| LAYERNAME | back to summary |
|---|---|
| public static final int LAYERNAME The struct member offsets. | |
| LAYERVERSION | back to summary |
|---|---|
| public static final int LAYERVERSION 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. | |
| SPECVERSION | back to summary |
|---|---|
| public static final int SPECVERSION The struct member offsets. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrApiLayerProperties | back to summary |
|---|---|
| protected XrApiLayerProperties(long address, ByteBuffer container) | |
| XrApiLayerProperties | back to summary |
|---|---|
| public XrApiLayerProperties(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrApiLayerProperties calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrApiLayerProperties. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrApiLayerProperties calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrApiLayerProperties. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrApiLayerProperties create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrApiLayerProperties create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrApiLayerProperties create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrApiLayerProperties. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrApiLayerProperties. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrApiLayerProperties createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrApiLayerProperties. Like
| |
| description | back to summary |
|---|---|
| public ByteBuffer description() a string providing additional details that can be used by the application to identify the API layer.
| |
| descriptionString | back to summary |
|---|---|
| public String descriptionString() a string providing additional details that can be used by the application to identify the API layer.
| |
| layerName | back to summary |
|---|---|
| public ByteBuffer layerName() a string specifying the name of the API layer. Use this name in the
| |
| layerNameString | back to summary |
|---|---|
| public String layerNameString() a string specifying the name of the API layer. Use this name in the
| |
| layerVersion | back to summary |
|---|---|
| public int layerVersion() the version of this API layer. It is an integer, increasing with backward compatible changes.
| |
| malloc | back to summary |
|---|---|
| public static XrApiLayerProperties malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrApiLayerProperties. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrApiLayerProperties malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrApiLayerProperties. Returns a new
| |
| ndescription | back to summary |
|---|---|
| public static ByteBuffer ndescription(long struct) Unsafe version of | |
| ndescriptionString | back to summary |
|---|---|
| public static String ndescriptionString(long struct) Unsafe version of | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrApiLayerProperties next(long value) Sets the specified value to the | |
| nlayerName | back to summary |
|---|---|
| public static ByteBuffer nlayerName(long struct) Unsafe version of | |
| nlayerNameString | back to summary |
|---|---|
| public static String nlayerNameString(long struct) Unsafe version of | |
| nlayerVersion | back to summary |
|---|---|
| public static int nlayerVersion(long struct) 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 | |
| nspecVersion | back to summary |
|---|---|
| public static long nspecVersion(long struct) 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 XrApiLayerProperties set(int type, long next) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrApiLayerProperties set(XrApiLayerProperties src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| specVersion | back to summary |
|---|---|
| public long specVersion() the API version the API layer was written to, encoded as described in the API Version Numbers and Semantics section.
| |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrApiLayerProperties type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrApiLayerProperties type$Default() Sets the | |
XrApiLayerProperties structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrApiLayerProperties |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| public String | Returns: the null-terminated string stored in theXrApiLayerProperties#description field.
|
| protected XrApiLayerProperties | |
| public ByteBuffer | |
| public String | Returns: the null-terminated string stored in theXrApiLayerProperties#layerName field.
|
| public int | |
| public long | |
| public XrApiLayerProperties. | |
| protected XrApiLayerProperties. | |
| public long | |
| public int | |
| public XrApiLayerProperties. | |
| public XrApiLayerProperties. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrApiLayerProperties 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) | |
| description | back to summary |
|---|---|
public ByteBuffer description()
| |
| descriptionString | back to summary |
|---|---|
public String descriptionString()
| |
| getElementFactory | back to summary |
|---|---|
| protected XrApiLayerProperties getElementFactory() Implements abstract org.
| |
| layerName | back to summary |
|---|---|
public ByteBuffer layerName()
| |
| layerNameString | back to summary |
|---|---|
public String layerNameString()
| |
| layerVersion | back to summary |
|---|---|
public int layerVersion()
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrApiLayerProperties. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrApiLayerProperties. Implements abstract org.
| |
| specVersion | back to summary |
|---|---|
public long specVersion()
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrApiLayerProperties. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrApiLayerProperties. Sets the | |