Monado OpenXR Runtime
gui_ogl_texture Struct Reference

A OpenGL texture. More...

#include <gui/gui_common.h>

Collaboration diagram for gui_ogl_texture:

Public Member Functions

struct gui_ogl_texturegui_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
 

Detailed Description

A OpenGL texture.

See also
gui_program

The documentation for this struct was generated from the following file: