lv_gltf_data_internal.h
API reference for lv_gltf_data_internal.h
Summary
Functions
lv_gltf_get_compiled_shader
lv_gltf_compiled_shader_t * lv_gltf_get_compiled_shader(lv_gltf_model_t *data, size_t identifier)| Name | Type |
|---|---|
data | lv_gltf_model_t * |
identifier | size_t |
lv_gltf_data_get_radius
Retrieve the radius of the GLTF data object.
double lv_gltf_data_get_radius(const lv_gltf_model_t *model)| Name | Type |
|---|---|
model | const lv_gltf_model_t * |
Returns: double — The radius of the GLTF data object.
Structs
struct
IndirectDrawCommand
| Member | Type | Description |
|---|---|---|
count | GLuint | |
instanceCount | GLuint | |
firstIndex | GLuint | |
baseVertex | GLint | |
baseInstance | GLuint |
struct
lv_gltf_primitive_t
| Member | Type | Description |
|---|---|---|
draw | IndirectDrawCommand | |
primitiveType | GLenum | |
indexType | GLenum | |
vertexArray | GLuint | |
vertexBuffer | GLuint | |
indexBuffer | GLuint | |
materialUniformsIndex | GLuint | |
albedoTexture | GLuint | |
emissiveTexture | GLuint | |
metalRoughTexture | GLuint | |
occlusionTexture | GLuint | |
normalTexture | GLuint | |
diffuseTransmissionTexture | GLuint | |
diffuseTransmissionColorTexture | GLuint | |
transmissionTexture | GLuint | |
transmissionTexcoordIndex | GLuint | |
baseColorTexcoordIndex | GLint | |
emissiveTexcoordIndex | GLint | |
metallicRoughnessTexcoordIndex | GLint | |
occlusionTexcoordIndex | GLint | |
normalTexcoordIndex | GLint | |
diffuseTransmissionTexcoordIndex | GLint | |
diffuseTransmissionColorTexcoordIndex | GLint | |
clearcoatTexture | GLint | |
clearcoatRoughnessTexture | GLint | |
clearcoatNormalTexture | GLint | |
clearcoatTexcoordIndex | GLint | |
clearcoatRoughnessTexcoordIndex | GLint | |
clearcoatNormalTexcoordIndex | GLint | |
thicknessTexture | GLuint | |
thicknessTexcoordIndex | GLint | |
diffuseTexture | GLuint | |
diffuseTexcoordIndex | GLint | |
specularGlossinessTexture | GLuint | |
specularGlossinessTexcoordIndex | GLint |
struct
lv_gltf_uniform_locations_t
| Member | Type | Description |
|---|---|---|
camera | GLint | |
view_projection_matrix | GLint | |
model_matrix | GLint | |
view_matrix | GLint | |
projection_matrix | GLint | |
env_intensity | GLint | |
env_diffuse_sampler | GLint | |
env_specular_sampler | GLint | |
env_sheen_sampler | GLint | |
env_ggx_lut_sampler | GLint | |
env_charlie_lut_sampler | GLint | |
env_mip_count | GLint | |
exposure | GLint | |
roughness_factor | GLint | |
base_color_factor | GLint | |
base_color_sampler | GLint | |
base_color_uv_set | GLint | |
base_color_uv_transform | GLint | |
emissive_factor | GLint | |
emissive_sampler | GLint | |
emissive_uv_set | GLint | |
emissive_uv_transform | GLint | |
emissive_strength | GLint | |
metallic_factor | GLint | |
metallic_roughness_sampler | GLint | |
metallic_roughness_uv_set | GLint | |
metallic_roughness_uv_transform | GLint | |
occlusion_strength | GLint | |
occlusion_sampler | GLint | |
occlusion_uv_set | GLint | |
occlusion_uv_transform | GLint | |
normal_scale | GLint | |
normal_sampler | GLint | |
normal_uv_set | GLint | |
normal_uv_transform | GLint | |
clearcoat_factor | GLint | |
clearcoat_roughness_factor | GLint | |
clearcoat_sampler | GLint | |
clearcoat_uv_set | GLint | |
clearcoat_uv_transform | GLint | |
clearcoat_roughness_sampler | GLint | |
clearcoat_roughness_uv_set | GLint | |
clearcoat_roughness_uv_transform | GLint | |
clearcoat_normal_scale | GLint | |
clearcoat_normal_sampler | GLint | |
clearcoat_normal_uv_set | GLint | |
clearcoat_normal_uv_transform | GLint | |
thickness | GLint | |
thickness_sampler | GLint | |
thickness_uv_set | GLint | |
thickness_uv_transform | GLint | |
diffuse_transmission_sampler | GLint | |
diffuse_transmission_uv_set | GLint | |
diffuse_transmission_uv_transform | GLint | |
diffuse_transmission_color_sampler | GLint | |
diffuse_transmission_color_uv_set | GLint | |
diffuse_transmission_color_uv_transform | GLint | |
sheen_color_factor | GLint | |
sheen_roughness_factor | GLint | |
specular_color_factor | GLint | |
specular_factor | GLint | |
diffuse_transmission_color_factor | GLint | |
diffuse_transmission_factor | GLint | |
ior | GLint | |
alpha_cutoff | GLint | |
dispersion | GLint | |
screen_size | GLint | |
transmission_factor | GLint | |
transmission_sampler | GLint | |
transmission_uv_set | GLint | |
transmission_uv_transform | GLint | |
transmission_framebuffer_sampler | GLint | |
transmission_framebuffer_size | GLint | |
attenuation_distance | GLint | |
attenuation_color | GLint | |
joints_sampler | GLint | |
diffuse_factor | GLint | |
glossiness_factor | GLint | |
diffuse_sampler | GLint | |
diffuse_uv_set | GLint | |
diffuse_uv_transform | GLint | |
specular_glossiness_sampler | GLint | |
specular_glossiness_uv_set | GLint | |
specular_glossiness_uv_transform | GLint |
struct
_lv_gltf_model_loader_t
| Member | Type | Description |
|---|---|---|
textures_map | lv_rb_t |
struct
lv_gltf_compiled_shader_t
| Member | Type | Description |
|---|---|---|
uniforms | lv_gltf_uniform_locations_t | |
program | GLuint |
Used by 1 function
lv_gltf_store_compiled_shader— paramshader
Dependencies
How is this guide?
Last updated on