lv_opengles_texture.h

API reference for lv_opengles_texture.h

Report on GitHub
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_opengles_texture_private.h
Summary

Functions

lv_opengles_texture_get_texture_id

Get the OpenGL texture ID of the display

 
unsigned int lv_opengles_texture_get_texture_id(lv_display_t *disp)
Parameters
NameTypeDescription
displv_display_t *display

Returns: unsigned int — texture ID

lv_opengles_texture_get_from_texture_id

Get the display of an OpenGL texture if it is associated with one

 
lv_display_t * lv_opengles_texture_get_from_texture_id(unsigned int texture_id)
Parameters
NameTypeDescription
texture_idunsigned intOpenGL texture ID

Returns: lv_display_t * — display or NULL if there no display with that texture ID

Dependencies

How is this guide?

Last updated on

On this page