Monado OpenXR Runtime
|
A OpenGL texture. More...
#include <gui/gui_common.h>
Public Member Functions | |
struct gui_ogl_texture * | gui_ogl_sink_create (const char *name, struct xrt_frame_context *xfctx, struct xrt_frame_sink **out_sink) |
Create a sink that will turn frames into OpenGL textures, since the frame can come from another thread gui_ogl_sink_update needs to be called. More... | |
void | gui_ogl_sink_update (struct gui_ogl_texture *) |
Update the texture to the latest received frame. More... | |
Data Fields | |
uint64_t | seq |
uint64_t | dropped |
const char * | name |
uint32_t | w |
uint32_t | h |
uint32_t | id |
bool | half |
A OpenGL texture.