lv_draw_3d.h
API reference for lv_draw_3d.h
Summary
Functions
public/draw/lv_draw_3d.h:52function
lv_draw_task_get_3d_dsc
Try to get a 3D draw descriptor from a draw task.
lv_draw_3d_dsc_t * lv_draw_task_get_3d_dsc(lv_draw_task_t *task)| Name | Type | Description |
|---|---|---|
task | lv_draw_task_t * | draw task |
Returns: lv_draw_3d_dsc_t * — the task's draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_3D
public/draw/lv_draw_3d.h:45function
lv_draw_3d_dsc_init
Initialize a 3D draw descriptor
void lv_draw_3d_dsc_init(lv_draw_3d_dsc_t *dsc)| Name | Type | Description |
|---|---|---|
dsc | lv_draw_3d_dsc_t * | pointer to a draw descriptor |
public/draw/lv_draw_3d.h:60function
lv_draw_3d
Create a 3D draw task
void lv_draw_3d(lv_layer_t *layer, const lv_draw_3d_dsc_t *dsc, const lv_area_t *coords)| Name | Type | Description |
|---|---|---|
layer | lv_layer_t * | pointer to a layer |
dsc | const lv_draw_3d_dsc_t * | pointer to an initialized lv_draw_3d_dsc_t variable |
coords | const lv_area_t * | the coordinates of where to draw the widget |
Structs
struct
lv_draw_3d_dsc_t
| Member | Type | Description |
|---|---|---|
base | lv_draw_dsc_base_t | |
tex_id | lv_3dtexture_id_t | |
h_flip | bool | |
v_flip | bool | |
opa | lv_opa_t |
Used by 3 functions
lv_draw_3d_dsc_init— paramdsclv_draw_3d— paramdsclv_draw_nanovg_3d— paramdsc
Dependencies
Indirect dependencies
lv_anim.hlv_area.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_internal.hlv_draw_buf.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_grad.hlv_grid.hlv_image_dsc.hlv_layout.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_symbol_def.hlv_text.hlv_types.h
Last updated on