Monado OpenXR Runtime
|
A small widget that interfaces a u_native_images_debug struct, caching the imports from the listed xrt_image_native list. More...
#include <gui/gui_widget_native_images.h>
Data Fields | |
xrt_limited_unique_id_t | cache_id |
To check if swapchain has been changed. More... | |
uint32_t | memories [XRT_MAX_SWAPCHAIN_IMAGES] |
uint32_t | textures [XRT_MAX_SWAPCHAIN_IMAGES] |
uint32_t | texture_count |
The current number of images that has been imported. More... | |
uint32_t | width |
Dimensions. More... | |
uint32_t | height |
float | scale |
Scale. More... | |
bool | rotate_180 |
Rotate the image by 180 degrees. More... | |
uint32_t | active_index |
Set to GUI_WIDGET_SWAPCHAIN_INVALID_INDEX on invalid. More... | |
bool | flip_y |
Should the image be flipped in y direction. More... | |
A small widget that interfaces a u_native_images_debug struct, caching the imports from the listed xrt_image_native list.
uint32_t gui_widget_native_images::active_index |
Set to GUI_WIDGET_SWAPCHAIN_INVALID_INDEX on invalid.
Referenced by gui_widget_native_images_init(), gui_widget_native_images_render(), and gui_widget_native_images_to_background().
xrt_limited_unique_id_t gui_widget_native_images::cache_id |
To check if swapchain has been changed.
Referenced by gui_widget_native_images_update().
bool gui_widget_native_images::flip_y |
Should the image be flipped in y direction.
bool gui_widget_native_images::rotate_180 |
Rotate the image by 180 degrees.
float gui_widget_native_images::scale |
Scale.
uint32_t gui_widget_native_images::texture_count |
The current number of images that has been imported.
uint32_t gui_widget_native_images::width |
Dimensions.