|
Monado OpenXR Runtime
|

Public Member Functions | |
| u_extension_list (ExtensionList &&extension_list) | |
| struct u_extension_list * | u_extension_list_create (void) |
| Create an empty extension list, some APIs might require an extension list to be passed in so there is some utility for this function. More... | |
| struct u_extension_list * | u_extension_list_create_from_array (const char *const *arr, uint32_t size) |
| Create a new extension list from an array of strings. More... | |
| uint32_t | u_extension_list_get_size (const struct u_extension_list *uel) |
| Retrieve the number of elements in the list. More... | |
| const char *const * | u_extension_list_get_data (const struct u_extension_list *uel) |
| Retrieve the data pointer of the list. More... | |
| bool | u_extension_list_contains (const struct u_extension_list *uel, const char *str) |
| Check if the string is in the list. More... | |
| bool | u_extension_list_contains_len (const struct u_extension_list *uel, const char *str, size_t len) |
| Check if the string is in the list. More... | |
| void | u_extension_list_destroy (struct u_extension_list **list_ptr) |
| Destroy an extension list. More... | |
Data Fields | |
| ExtensionList | list |
| bool u_extension_list_contains | ( | const struct u_extension_list * | uel, |
| const char * | str | ||
| ) |
Check if the string is in the list.
(Comparing string contents, not pointers)
| usl | self pointer |
| str | a non-null, null-terminated string. |
References xrt::auxiliary::util::ExtensionList::contains().
| bool u_extension_list_contains_len | ( | const struct u_extension_list * | uel, |
| const char * | str, | ||
| size_t | len | ||
| ) |
Check if the string is in the list.
(Comparing string contents, not pointers)
| usl | self pointer |
| str | a string pointer. |
| len | the length of the string. |
| struct u_extension_list * u_extension_list_create | ( | void | ) |
Create an empty extension list, some APIs might require an extension list to be passed in so there is some utility for this function.
Referenced by u_extension_list_create_from_array().
| struct u_extension_list * u_extension_list_create_from_array | ( | const char *const * | arr, |
| uint32_t | size | ||
| ) |
Create a new extension list from an array of strings.
The strings are copied into the list.
| arr | an array of zero or more non-null, null-terminated strings. |
| size | the number of elements in the array. |
References xrt::auxiliary::util::ExtensionListBuilder::append(), and u_extension_list_create().
| void u_extension_list_destroy | ( | struct u_extension_list ** | list_ptr | ) |
Destroy an extension list.
Performs null checks and sets your pointer to zero.
Referenced by vk_build_device_extensions_with_skip(), vk_build_instance_extensions_with_skip(), and vk_check_required_instance_extensions().
| const char *const * u_extension_list_get_data | ( | const struct u_extension_list * | uel | ) |
Retrieve the data pointer of the list.
References xrt::auxiliary::util::ExtensionList::data().
| uint32_t u_extension_list_get_size | ( | const struct u_extension_list * | uel | ) |
Retrieve the number of elements in the list.
References xrt::auxiliary::util::ExtensionList::size().
Referenced by u_pp_string_list(), and u_pp_string_list_extensions().