Load texture from glb

Add loading image from glb file.
This commit is contained in:
Piotr Krygier
2026-03-20 14:22:17 +01:00
parent 4c706982f1
commit ceb9e365de
9 changed files with 59 additions and 85 deletions
+1 -3
View File
@@ -15,12 +15,10 @@
* @param bytes_count Returned bytes count
* @param buffer Returned filled buffer
*/
rse_err_t file_read_bytes(const char* file_path, size_t* bytes_count, char* buffer);
rse_err_t file_read_bytes(const char* file_path, size_t* bytes_count, unsigned char* buffer);
rse_err_t file_write(const char* file_name, size_t bytes_count, char* buffer);
rse_err_t file_load_pixels(const char* file_name, unsigned char* buffer, size_t* buffer_size, int* width, int* height);
rse_err_t file_append_full_path(char* file_path, size_t max_buffer_size);
rse_err_t file_load_gltf(const char* file_name, cgltf_data** data);