lv_gltf_view_internal.h

API reference for lv_gltf_view_internal.h

Report on GitHub

Structs

struct

lv_gltf_renwin_state_t

MemberTypeDescription
textureuint32_t
renderbufferuint32_t
framebufferunsigned
struct

lv_gltf_view_state_t

MemberTypeDescription
render_statelv_gltf_renwin_state_t
opaque_render_statelv_gltf_renwin_state_t
opaque_frame_buffer_widthuint64_t
opaque_frame_buffer_heightuint64_t
material_variantuint32_t
render_state_readybool
render_opaque_bufferbool
struct

lv_gltf_view_desc_t

MemberTypeDescription
pitchfloat
yawfloat
distancefloat
fovfloat
render_widthint32_t
render_heightint32_t
focal_xfloat
focal_yfloat
focal_zfloat
frame_was_antialiasedbool
aa_modelv_gltf_aa_mode_t
bg_modelv_gltf_bg_mode_t
blur_bgfloat
env_powfloatHow much to blur the environment background, between 0.0 and 1.0
exposurefloatEnvironmental brightness, 1.8 by default
struct

lv_opengl_state_t

MemberTypeDescription
blend_enabledGLboolean
blend_srcGLint
blend_dstGLint
blend_equationGLint
depth_test_enabledGLboolean
depth_maskGLboolean
depth_funcGLint
cull_face_enabledGLboolean
cull_face_modeGLint
front_faceGLint
stencil_test_enabledGLboolean
stencil_maskGLuint
stencil_funcGLint
stencil_refGLint
stencil_value_maskGLuint
current_vaoGLuint
current_vboGLuint
current_iboGLuint
current_programGLuint
active_textureGLint
bound_texture_2dGLuint
viewportGLint[4]
scissor_test_enabledGLboolean
scissor_boxGLint[4]
clear_depthGLfloat
clear_colorGLfloat[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.5f

LV_GLTF_TRANSMISSION_PASS_SIZE

 
#define LV_GLTF_TRANSMISSION_PASS_SIZE 256

LV_GLTF_LINEAR_OUTPUT

 
#define LV_GLTF_LINEAR_OUTPUT 1

LV_GLTF_TONEMAP_GAMMA

 
#define LV_GLTF_TONEMAP_GAMMA LV_GLTF_GAMMA_STANDARD

Dependencies

How is this guide?

Last updated on

On this page