lv_3dtexture.h

Functions

lv_obj_t *lv_3dtexture_create(lv_obj_t *parent)

Create a 3dtexture object

Parameters:

parent – pointer to an object, it will be the parent of the new 3dtexture

Returns:

pointer to the created 3dtexture

void lv_3dtexture_set_src(lv_obj_t *obj, lv_3dtexture_id_t id)

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

Parameters:
  • obj – the 3dtexture widget

  • id – the texture handle from the 3D graphics backend. I.e., an unsigned int texture for OpenGL.

Variables

const lv_obj_class_t lv_3dtexture_class