|
| IMPORT void | InstallProgress (int num, std::string label, int max=15) |
| IMPORT void | ProgressBar (int num, int val, int max, std::string label) |
| std::string | remove_dirs (std::string url) |
| IMPORT std::string | stripprefix (std::string s) |
| bool | is_cb_done (std::string url) |
| void | add_cb_done (std::string url) |
| void | create_decode_mutex (int id) |
| void | decode_mutex_lock (int id) |
| void | decode_mutex_unlock (int id) |
| GameApi::P | gltf_load2 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_index, int prim_index) |
| unsigned int | test_color (int id, unsigned int color) |
| template<class T> |
| void | print (std::string label, T *ptr) |
| float | baseColorChange (float val) |
| void | confirm_texture_usage (GameApi::Env &e, GameApi::P p) |
| int | bitmap_find_data (std::string data) |
| bool | LoadImageData (tinygltf::Image *image, const int image_idx, std::string *err, std::string *warn, int req_width, int req_height, const unsigned char *bytes, int size, void *ptr) |
| bool | LoadImageData_from_string (tinygltf::Image *image, const int image_idx, std::string *err, std::string *warn, int req_width, int req_height, const unsigned char *bytes, int size, void *ptr) |
| bool | WriteImageData (const std::string *basepath, const std::string *filename, tinygltf::Image *image, bool b, void *ptr) |
| bool | FileExists (const std::string &abs_filename, void *ptr) |
| std::string | ExpandFilePath (const std::string &str, void *ptr) |
| bool | ReadWholeFile (std::vector< unsigned char, GameApiAllocator< unsigned char > > *out, std::string *err, const std::string &filepath, void *ptr) |
| bool | WriteWholeFile (std::string *err, const std::string &filepath, const std::vector< unsigned char, GameApiAllocator< unsigned char > > &contents, void *ptr) |
| void * | tinygltf_process (void *data) |
| void | LoadGltf3_cb (void *) |
| void | LoadGltf2_cb (void *) |
| void | LoadGltf_cb (void *) |
| void | LoadGltf_cb_from_string (void *) |
| void | LoadGltf2_cb_from_string (void *) |
| void | tinygltf_async_join_cb (void *data) |
| void | g_bitmap_thread_async_join_cb (void *data) |
| void | loadgltf_splitter_cb (void *data) |
| int | find_str (std::string val, std::string repl) |
| int | find_str_vector (std::vector< char > *vec, std::string repl, int max_chars) |
| bool | OrigLoadImageData (tinygltf::Image *image, const int image_idx, std::string *err, std::string *warn, int req_width, int req_height, const unsigned char *bytes, int size, void *user_data) |
| int | splitter_cb_count () |
| int | register_cache_deleter (void(*fptr)(void *), void *) |
| LoadGltf * | find_gltf_instance (GameApi::Env &e, std::string base_url, std::string url, std::string homepage, bool is_binary) |
| LoadGltf * | find_gltf_instance (GameApi::Env &e, std::string base_url, std::string url, std::string homepage, bool is_binary, void(*fptr)(void(*f)(void *), void *d)) |
| LoadGltf_from_string * | find_gltf_instance_from_string (GameApi::Env &e, std::string data, std::string base_url, std::string url, std::string homepage, bool is_binary) |
| void | call_prepare (void *ptr) |
| bool | is_in_registered (std::string url) |
| void * | thread_func_gltf_bitmap (void *data2) |
| void | start_gltf_bitmap_thread (int i, tinygltf::Image *image, int req_width, int req_height, const unsigned char *bytes, int size, GLTFImageDecoder *decoder, int decoder_item, std::string url, int m_decode_mutex_id) |
| void | gltf_join_threads (GLTFImageDecoder *decoder) |
| void | bm_cb (void *ptr2) |
| GameApi::BM | gltf_load_bitmap2 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int image_index) |
| void | resize_reset () |
| void | calc_resize_model (GameApi::Env &e, GameApi::EveryApi &ev, GameApi::P p) |
| GameApi::ML | resize_model (GameApi::Env &env, GameApi::EveryApi &ev, GameApi::ML ml) |
| GameApi::P | resize_to_correct_size2 (GameApi::Env &e, GameApi::P model, Matrix *mat) |
| GameApi::P | resize_to_correct_size_g2 (GameApi::Env &e, GameApi::P model, Matrix *mat, GameApi::TRR resize_transfer_id) |
| bool | is_animated (GameApi::Env &e, GameApi::TF tf, GameApi::P p) |
| bool | is_animated (GameApi::Env &e, GLTFModelInterface *tf, GameApi::P p) |
| GameApi::P | scale_to_gltf_size_p (GameApi::Env &e, GameApi::EveryApi &ev, GameApi::P p, GameApi::P p2, GameApi::TRR resize_transfer_id) |
| GameApi::ML | blendmainloop (GameApi::Env &e, GameApi::ML ml, bool b) |
| GameApi::ML | transmainloop (GameApi::Env &e, GameApi::ML ml, bool b) |
| GameApi::P | transfaces (GameApi::Env &e, GameApi::P p) |
| int | get_num_textures (GLTF_Material *mat) |
| GameApi::MT | gltf_material2_manual (GameApi::Env &e, GameApi::EveryApi &ev, float mix, float self_mult, float rest_mult, GameApi::BM baseColor, GameApi::BM metalrough, GameApi::BM normaltexture, GameApi::BM occlusion, GameApi::BM emissive, bool baseColor_b, bool metalrough_b, bool normaltexture_b, bool occlusion_b, bool emissive_b, float roughnessfactor, float metallicfactor, float baseColor_red, float baseColor_green, float baseColor_blue, float baseColor_alpha, float occulsionStrength, Vector light_dir) |
| void | MAT_CB (void *) |
| GameApi::MT | gltf_material2 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *model, GltfMaterialParams *param) |
| GameApi::MT | gltf_material_env2 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int material_id, float mix, GameApi::BM diffuse_env, GameApi::BM specular_env, GameApi::BM bfrd) |
| std::pair< float, Point > | find_mesh_scale (FaceCollection *coll) |
| std::pair< float, Point > | find_mesh_scale_g (FaceCollection *coll, GameApi::TRR resize_transfer_id, bool is_animated) |
| GameApi::LI | scale_to_gltf_size_li (GameApi::Env &e, GameApi::EveryApi &ev, GameApi::P p, GameApi::LI li) |
| GameApi::ML | scale_to_gltf_size (GameApi::Env &e, GameApi::EveryApi &ev, GameApi::P p, GameApi::ML ml) |
| GameApi::ML | scale_to_gltf_size_g (GameApi::Env &e, GameApi::EveryApi &ev, GameApi::P p, GameApi::ML ml, GameApi::TRR resize_transfer_id, bool is_animated) |
| GameApi::MN | scale_to_gltf_size_mn (GameApi::EveryApi &ev, GameApi::P p, GameApi::MN mn) |
| GameApi::MN | scale_to_gltf_size_mn_inv (GameApi::EveryApi &ev, GameApi::P p, GameApi::MN mn) |
| GameApi::MS | scale_to_gltf_size_ms (GameApi::EveryApi &ev, GameApi::P p, GameApi::MS ms) |
| GameApi::MS | scale_to_gltf_size_inv (GameApi::EveryApi &ev, GameApi::P p, GameApi::MS ms) |
| void | print_transform (TransformObject o) |
| TransformObject | gltf_node_default () |
| void | slerp (float *prev, float *next, float val, float *res) |
| float | quar_dot (float *a0, float *a1) |
| float | bound (float x) |
| void | lerp (float *v0, float *v1, float t, float *res) |
| void | spherical_slerp (float *vk, float *vk1, float t, float *res) |
| void | quar_normalize (float *v2) |
| void | quar_slerp (float *v0, float *v1, float alpha, float *res) |
| void | step_interpolate (float *a, float *b, float *res) |
| void | fix_nan_inf (float *a, float *repl) |
| TransformObject | slerp_transform (TransformObject o, TransformObject o2, float val) |
| TransformObject | gltf_node_transform_obj (const tinygltf::Node *node) |
| Matrix | gltf_node_transform_obj_apply2 (GameApi::Env &e, GameApi::EveryApi &ev, const Matrix &root, const TransformObject &o2) |
| std::pair< Matrix, Matrix > | gltf_node_transform_obj_apply (GameApi::Env &e, GameApi::EveryApi &ev, const Matrix &root, const TransformObject &o2) |
| GameApi::MN | gltf_node_transform (GameApi::Env &e, GameApi::EveryApi &ev, tinygltf::Node *node, GameApi::MN root) |
| GameApi::P | gltf_mesh2_p (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, int skin_id, std::string keys) |
| GameApi::ARR | gltf_mesh2_p_arr (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, int skin_id, std::string keys, int(*fptr_mesh)(GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, GltfMaterialParams *param), GltfMaterialParams *param) |
| GameApi::P | gltf_mesh2_with_skeleton_p (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, int skin_id, std::string keys) |
| GameApi::ARR | gltf_mesh2_with_skeleton_p_arr (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, int skin_id, std::string keys, int(*fptr)(GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, GltfMaterialParams *param), GltfMaterialParams *param) |
| GameApi::ML | gltf_mesh2 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, int skin_id, std::string keys, GltfMaterialParams *param, GameApi::TRB transfer_id) |
| GameApi::ML | gltf_mesh2_inst_matrix (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, GameApi::P resize_obj, std::function< GameApi::P(GameApi::P)> fptr, GameApi::MS ms, int mesh_id, int skin_id, std::string keys, GltfMaterialParams *param, GameApi::TRB transfer_id) |
| GameApi::ML | gltf_mesh2_with_skeleton (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, int skin_id, std::string keys, GltfMaterialParams *param, GameApi::TRB transfer_id) |
| GameApi::ML | gltf_mesh2_with_skeleton_inst_matrix (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, GameApi::P resize_obj, std::function< GameApi::P(GameApi::P)> fptr, GameApi::MS ms, int mesh_id, int skin_id, std::string keys, GltfMaterialParams *param, GameApi::TRB transfer_id) |
| GameApi::MT | gltf_anim_material3 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int skin_num, int num_timeindexes, GameApi::MT next, std::string keys, int mode, int inst, GameApi::TRA anim_transfer_id, int frame_skip) |
| bool | is_child_node (GLTFModelInterface *interface, int node_id, int node2) |
| Matrix | fix_matrix (Matrix m) |
| GameApi::P | gltf_node2_p (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int node_id, std::string keys) |
| GameApi::ARR | gltf_node2_p_arr (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int node_id, std::string keys, int(*fptr_skeleton)(GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, GltfMaterialParams *param), int(*fptr_mesh)(GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, GltfMaterialParams *param), bool translate, GltfMaterialParams *param) |
| GameApi::ML | gltf_node2 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int node_id, std::string keys, GltfMaterialParams *param, Matrix root, bool very_root_node, GameApi::TRB transfer_id) |
| GameApi::ML | gltf_node2_inst_matrix (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, GameApi::P resize_obj, std::function< GameApi::P(GameApi::P p)> fptr, GameApi::MS ms, int node_id, std::string keys, GltfMaterialParams *param, Matrix root, GameApi::TRB transfer_id) |
| GameApi::P | gltf_scene2_p (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int scene_id, std::string keys) |
| GameApi::ARR | gltf_scene2_p_arr (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int scene_id, std::string keys, int(*fptr_skeleton)(GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, GltfMaterialParams *param), int(*fptr_mesh)(GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, GltfMaterialParams *param), bool translate, GltfMaterialParams *param) |
| GameApi::ML | gltf_scene2 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int scene_id, std::string keys, GltfMaterialParams *param, GameApi::TRB transfer_id) |
| GameApi::P | identity_p (GameApi::P p) |
| GameApi::ML | gltf_scene2_inst_matrix (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, GameApi::P resize_obj, GameApi::MS ms, int scene_id, std::string keys, GltfMaterialParams *param, GameApi::TRB transfer_id) |
| int | arr_fetch_load (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, GltfMaterialParams *param) |
| int | arr_fetch_material (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, GltfMaterialParams *param) |
| int | gltf_mesh2_calc_max_timeindexes (GLTFModelInterface *interface, int animation, int skin_num) |
| int | get_cache_id (GLTFModelInterface *interface) |
| GameApi::ML | gltf_mesh2_with_skeleton_inst_matrix (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, GameApi::P resize_obj, std::function< GameApi::P(GameApi::P p)> fptr, GameApi::MS ms, int mesh_id, int skin_id, std::string keys, GltfMaterialParams *param, GameApi::TRB transfer_id) |
| GameApi::ML | gltf_mesh2_env (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_id, GameApi::BM diffuse, GameApi::BM specular, GameApi::BM brfd, float mix) |
| GameApi::ML | gltf_mesh_all2 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, GltfMaterialParams *param) |
| GameApi::ML | gltf_mesh_all2_env (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, GameApi::BM diffuse, GameApi::BM specular, GameApi::BM brfd, float mix) |
| std::vector< int > | get_tinygltf_nodes (GameApi::EveryApi &ev, GLTFModelInterface *interface, int skin_num) |
| GameApi::ML | gltf_anim3 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int target_node, GltfMaterialParams *param) |
| void | add_joint_cache (MainLoopItem *item) |
| bool | find_joint_cache (MainLoopItem *item) |
| GameApi::ML | gltf_joint_matrices2 (GameApi::ML prev, GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int skin_num, int animation, int time_index, GameApi::ML next, bool has_anim) |
| GLTFJointMatrices * | find_joint_matrices (GameApi::Env &e, GameApi::ML ml) |
| GameApi::ML | gltf_scene3 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int scene_id, std::string keys, GltfMaterialParams *param) |
| GameApi::P | gltf_node4 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int node_id) |
| GameApi::P | gltf_scene4 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int scene_id) |
| GameApi::ATT | gltf_attach (GameApi::Env &e, GLTFModelInterface *interface, int mesh_index, int prim_index, int num) |
| GameApi::ARR | gltf_split_faces (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int mesh_index, int prim_index, int max_attach, int num) |
| void | mls_add_to_cache (int id, GameApi::ML orig, GameApi::ML ml, std::vector< GameApi::ML > vec) |
| std::tuple< std::vector< GameApi::ML >, GameApi::ML, GameApi::ML > | find_mls_cache_item (int id, bool &success) |
| char | key_mapping (char ch, int type) |
| std::vector< GameApi::ML > | cache_creation_mat (GameApi::Env &env, GameApi::P p, std::vector< Material * > vec, std::string keys) |
| std::vector< GameApi::ML > | cache_creation_matinst (GameApi::Env &env, GameApi::P p, GameApi::PTS pts, std::vector< Material * > vec, std::string keys) |
| std::vector< GameApi::ML > | cache_creation_matinstmatrix (GameApi::Env &env, GameApi::P p, GameApi::MS ms, std::vector< Material * > vec, std::string keys) |
| GameApi::MT | gltf_anim_material4 (GameApi::Env &e, GameApi::EveryApi &ev, GLTFModelInterface *interface, int skin_num, int animation, int num_timeindexes, GameApi::MT next, int key, int mode, int inst, int timeid, GameApi::TRA anim_transfer_id, int frame_skip) |
| float | fix_num (float x) |
| float | fix_num2 (float x) |
| float | fix_rot (int index, float x) |
| float | fix_trans (int index, float x) |
| float | fix_scale (int index, float x) |
| float | fix_zero (int index, float x) |
| float | fix_one (int index, float x) |
| void | ASyncGltfCB (void *data) |
| void | write_gltf (GLTFModelInterface *input, tinygltf::Model *model) |
| void | save_gltf (GLTFModelInterface *input, std::string filename) |
| GameApi::TF | LoadGLBFromString (GameApi::Env &e, std::string base_url, std::string url, std::string data) |
| GameApi::ASyncVec * | g_convert (std::vector< unsigned char, GameApiAllocator< unsigned char > > *vec) |
| GLTFModelInterface * | find_next (GLTFModelInterface *i) |
| void * | thread_sketchfab_zip (void *data) |
| void | Zip_callback (void *ptr) |
| void | zip_mutex_create (int id) |
| void | zip_mutex_destroy (int id) |
| ASyncCallback * | rem_async_cb (std::string url) |
| void | Zip_done (void *ptr) |
| void | zip_push (int id, std::string url) |
| size_t | writer_cb (void *pOpaque, mz_uint64 offset, const void *pBuf, size_t n) |
| GameApi::ASyncVec * | get_fetcher (const std::vector< unsigned char, GameApiAllocator< unsigned char > > *buffer) |
| int | find_indexhtml_string (std::string data, std::string str) |
| void | empty_asset (void *) |
| std::string | fetch_more_data (GameApi::Env &e, std::string url) |
| IMPORT std::string | get_zip_license_file (GameApi::Env &e, std::string zipfilename) |
| std::string | get_zip_indexhtml_file (GameApi::Env &e, std::string zipfilename) |
| std::string | parse_zip_indexhtml (std::string data, bool b=false) |
| std::string | replace_str (std::string val, std::string repl, std::string subst) |
| bool | load_zip (GameApi::Env &e, GameApi::EveryApi &ev, std::string url_to_zip) |
| void | sketchfab_zip_cb (void(*f2)(void *), void *data) |
| FETCHID | get_new_fetch_id () |
| FILEID | get_new_file_id () |
| bool | tf_join_property (void *t) |