jkuhlmann / cgltf

:diamond_shape_with_a_dot_inside: Single-file glTF 2.0 loader and writer written in C99
MIT License
1.46k stars 135 forks source link

Refactor code a little in preparation for extras rework #187

Closed zeux closed 2 years ago

zeux commented 2 years ago

This change moves texture view resource reclamation to a separate function to make it easier to change, add (currently unused) options parameter to extras parsing, and removes pbr_material_roughness extras support for consistency - no other material sub-component supports extras right now.

This extracts the more mechanical parts of #184 to make that one easier to merge.