Monado OpenXR Runtime
gui_ogl.h File Reference

OpenGL helper functions for drawing GUI elements. More...

#include "xrt/xrt_compiler.h"
Include dependency graph for gui_ogl.h:

Go to the source code of this file.

Functions

void gui_ogl_draw_image (uint32_t width, uint32_t height, uint32_t tex_id, float scale, bool rotate_180, bool flip_y)
 Draw the given textures as igImage, scale of 1.0f == 100%. More...
 
void gui_ogl_draw_background (uint32_t width, uint32_t height, uint32_t tex_id, bool rotate_180, bool flip_y)
 Draw the given texture to the background of the current OS window. More...
 

Detailed Description

OpenGL helper functions for drawing GUI elements.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m