lv_gltf_view_internal.h
API reference for lv_gltf_view_internal.h
Structs
struct
lv_gltf_renwin_state_t
struct
lv_gltf_view_state_t
| Member | Type | Description |
|---|---|---|
render_state | lv_gltf_renwin_state_t | |
opaque_render_state | lv_gltf_renwin_state_t | |
opaque_frame_buffer_width | uint64_t | |
opaque_frame_buffer_height | uint64_t | |
material_variant | uint32_t | |
render_state_ready | bool | |
render_opaque_buffer | bool |
struct
lv_gltf_view_desc_t
| Member | Type | Description |
|---|---|---|
pitch | float | |
yaw | float | |
distance | float | |
fov | float | |
render_width | int32_t | |
render_height | int32_t | |
focal_x | float | |
focal_y | float | |
focal_z | float | |
frame_was_antialiased | bool | |
aa_mode | lv_gltf_aa_mode_t | |
bg_mode | lv_gltf_bg_mode_t | |
blur_bg | float | |
env_pow | float | How much to blur the environment background, between 0.0 and 1.0 |
exposure | float | Environmental brightness, 1.8 by default |
struct
lv_opengl_state_t
| Member | Type | Description |
|---|---|---|
blend_enabled | GLboolean | |
blend_src | GLint | |
blend_dst | GLint | |
blend_equation | GLint | |
depth_test_enabled | GLboolean | |
depth_mask | GLboolean | |
depth_func | GLint | |
cull_face_enabled | GLboolean | |
cull_face_mode | GLint | |
front_face | GLint | |
stencil_test_enabled | GLboolean | |
stencil_mask | GLuint | |
stencil_func | GLint | |
stencil_ref | GLint | |
stencil_value_mask | GLuint | |
current_vao | GLuint | |
current_vbo | GLuint | |
current_ibo | GLuint | |
current_program | GLuint | |
active_texture | GLint | |
bound_texture_2d | GLuint | |
viewport | GLint[4] | |
scissor_test_enabled | GLboolean | |
scissor_box | GLint[4] | |
clear_depth | GLfloat | |
clear_color | GLfloat[4] |
Macros
LV_GLTF_GAMMA_BRIGHTEST
#define LV_GLTF_GAMMA_BRIGHTEST "3.5"LV_GLTF_GAMMA_BRIGHTER
#define LV_GLTF_GAMMA_BRIGHTER "3.0"LV_GLTF_GAMMA_BRIGHT
#define LV_GLTF_GAMMA_BRIGHT "2.6"LV_GLTF_GAMMA_STANDARD
#define LV_GLTF_GAMMA_STANDARD "2.2"LV_GLTF_GAMMA_DARK
#define LV_GLTF_GAMMA_DARK "1.8"LV_GLTF_GAMMA_DARKER
#define LV_GLTF_GAMMA_DARKER "1.3"LV_GLTF_GAMMA_DARKEST
#define LV_GLTF_GAMMA_DARKEST "0.8"LV_GLTF_DISTANCE_SCALE_FACTOR
#define LV_GLTF_DISTANCE_SCALE_FACTOR 2.5fLV_GLTF_TRANSMISSION_PASS_SIZE
#define LV_GLTF_TRANSMISSION_PASS_SIZE 256LV_GLTF_LINEAR_OUTPUT
#define LV_GLTF_LINEAR_OUTPUT 1LV_GLTF_TONEMAP_GAMMA
#define LV_GLTF_TONEMAP_GAMMA LV_GLTF_GAMMA_STANDARDDependencies
Indirect dependencies
lv_3dmath.hlv_3dtexture.hlv_anim.hlv_area.hlv_array.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_kconfig.hlv_display.hlv_draw.hlv_draw_arc.hlv_draw_blur.hlv_draw_buf.hlv_draw_image.hlv_draw_label.hlv_draw_line.hlv_draw_rect.hlv_draw_triangle.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_gltf_model.hlv_gltf_model_loader.hlv_gltf_model_node.hlv_grad.hlv_grid.hlv_group.hlv_image_decoder.hlv_image_dsc.hlv_indev.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_obj.hlv_obj_class.hlv_obj_draw.hlv_obj_event.hlv_obj_pos.hlv_obj_private.hlv_obj_property.hlv_obj_property_names.hlv_obj_scroll.hlv_obj_style.hlv_obj_style_gen.hlv_obj_tree.hlv_opengles_debug.hlv_opengles_private.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_rb.hlv_rb_private.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_style_properties.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.h
How is this guide?
Last updated on