lv_draw_3d.h
Functions
-
void lv_draw_3d_dsc_init(lv_draw_3d_dsc_t *dsc)
Initialize a 3D draw descriptor
- Parameters:
dsc – pointer to a draw descriptor
-
lv_draw_3d_dsc_t *lv_draw_task_get_3d_dsc(lv_draw_task_t *task)
Try to get a 3D draw descriptor from a draw task.
- Parameters:
task – draw task
- Returns:
the task's draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_3D
-
void lv_draw_3d(lv_layer_t *layer, const lv_draw_3d_dsc_t *dsc, const lv_area_t *coords)
Create a 3D draw task
- Parameters:
layer – pointer to a layer
dsc – pointer to an initialized
lv_draw_3d_dsc_t
variable
-
struct lv_draw_3d_dsc_t