lv_3dtexture.h

API reference for lv_3dtexture.h

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

Functions

lv_3dtexture_set_src

Set the source texture of the widget. The object size should be manually set to match.

 
void lv_3dtexture_set_src(lv_obj_t *obj, lv_3dtexture_id_t id)
Parameters
NameTypeDescription
objlv_obj_t *the 3dtexture widget
idlv_3dtexture_id_tthe texture handle from the 3D graphics backend. I.e., an unsigned int texture for OpenGL.

lv_3dtexture_set_flip

Set the flipping behavior of the widget.

 
void lv_3dtexture_set_flip(lv_obj_t *obj, bool h_flip, bool v_flip)
Parameters
NameTypeDescription
objlv_obj_t *the 3dtexture widget
h_flipbooltrue to flip horizontally.
v_flipbooltrue to flip vertically.

Variables

lv_3dtexture_class

 
const lv_obj_class_t lv_3dtexture_class

Dependencies

How is this guide?

Last updated on

On this page