lv_gltf_environment.h
API reference for lv_gltf_environment.h
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_gltf_environment_private.h
Summary
Functions
lv_gltf_ibl_sampler_set_cube_map_pixel_resolution
Set the resolution for each cubemap face
void lv_gltf_ibl_sampler_set_cube_map_pixel_resolution(lv_gltf_ibl_sampler_t *sampler, uint32_t resolution)| Name | Type | Description |
|---|---|---|
sampler | lv_gltf_ibl_sampler_t * | |
resolution | uint32_t | of each cube map face in pixels (recommended: 64-512 for embedded) |
lv_gltf_environment_set_angle
Set the rotation angle of the environment map
void lv_gltf_environment_set_angle(lv_gltf_environment_t *env, float angle)| Name | Type | Description |
|---|---|---|
env | lv_gltf_environment_t * | pointer to the environment |
angle | float | rotation angle in degrees |
Macros
LV_GLTF_DEFAULT_CUBE_MAP_RESOLUTION
#define LV_GLTF_DEFAULT_CUBE_MAP_RESOLUTION 128Dependencies
How is this guide?
Last updated on