|
GameApi 28
Library used by GameApi Builder tool
|
#include <GameApi.hh>
Public Member Functions | |
| IMPORT | MaterialsApi (Env &e) |
| IMPORT MT | choose_material (EveryApi &ev, int i) |
| IMPORT MT | reload_material (EveryApi &ev, MT next, std::string name, P default_p, MT default_mat) |
| IMPORT MT | acesfilm_material (EveryApi &ev, MT next) |
| IMPORT MT | discard_material (EveryApi &ev, MT next) |
| IMPORT MT | hires (EveryApi &ev, MT mat, int size, int numsampled, float blur_radius) |
| IMPORT MT | mt_empty (EveryApi &ev) |
| IMPORT MT | mt_alt (EveryApi &ev, std::vector< MT > v, int index) |
| IMPORT MT | progressmaterial (MT nxt, void(*fptr)(void *), void *data) |
| IMPORT SMT | ss_def (EveryApi &ev) |
| IMPORT SMT | screenspace_bloom (EveryApi &ev, SMT next, float cut_x, float cut_y, float cut_z, float x_amount, float y_amount) |
| IMPORT SMT | generic_screenspace_material00 (EveryApi &ev, SMT next, SHI vertex, SHI fragment) |
| IMPORT MT | phong3_material (EveryApi &ev, MT next, unsigned int ambient, unsigned int highlight, float pow) |
| IMPORT MT | generic_shader_material00 (EveryApi &ev, MT next, SHI vertex, SHI fragment, std::vector< TXID > vec) |
| IMPORT MT | generic_shader_material0 (EveryApi &ev, MT next, std::string, std::string, std::string) |
| IMPORT MT | generic_shader_material1 (EveryApi &ev, MT next, SHP params, std::string, std::string, std::string) |
| IMPORT MT | generic_shader_material2 (EveryApi &ev, MT next, SHP params, std::string, std::string, std::string, std::vector< SHI >) |
| IMPORT MT | gltf_material_from_file (EveryApi &ev, std::string url, float light_dir_x, float light_dir_y, float light_dir_z) |
| IMPORT MT | transparent_material (EveryApi &ev, BM bm, MT next, bool is_transparent) |
| IMPORT MT | m_keys (EveryApi &ev, std::vector< MT > vec, std::string keys) |
| IMPORT MT | gltf_anim_material (EveryApi &ev, TF model0, int skin_num, int animation, int num_timeindexes, MT next, int key, int mode, TRA anim_transfer_id, int frame_skip) |
| IMPORT MT | gltf_anim_material2 (EveryApi &e, TF model0, int skin_num, int num_timeindexes, MT next, std::string keys, int mode, TRA anim_transfer_id, int frame_skip) |
| IMPORT MT | toon_border (EveryApi &ev, MT next, float border_width, unsigned int color, bool is_gltf) |
| IMPORT ARR | material_pack_1 (EveryApi &ev) |
| IMPORT MT | m_def (EveryApi &ev) |
| IMPORT MT | skeletal (EveryApi &ev) |
| IMPORT MT | texture (EveryApi &ev, BM bm, float mix) |
| IMPORT MT | textureid (EveryApi &ev, TXID txid, float mix) |
| IMPORT MT | texture_many (EveryApi &ev, std::vector< BM > vec, float mix) |
| IMPORT MT | colour_material (EveryApi &ev, float mix, bool color_from_pts=false) |
| IMPORT MT | many_texture_id_material (EveryApi &ev, std::string mtl_url, std::string url_prefix, float mix, int start_range, int end_range) |
| IMPORT MT | texture_cubemap (EveryApi &ev, std::vector< BM > vec, float mix, float mix2) |
| IMPORT MT | texture_many2 (EveryApi &ev, float mix) |
| IMPORT MT | texture_arr (EveryApi &ev, std::vector< BM > vec, int sx, int sy, float mix) |
| IMPORT MT | gltf_material (EveryApi &ev, TF model0, int material_id, float mix, float self_mult, float rest_mult, float light_dir_x, float light_dir_y, float light_dir_z, bool emissive, int lod_level=-1) |
| IMPORT MT | gltf_material_manual (EveryApi &ev, float mix, float self_mult, float rest_mult, BM, BM, BM, BM, BM, bool, bool, bool, bool, bool, float, float, float, float, float, float, float, float light_dir_x, float light_dir_y, float light_dir_z) |
| IMPORT MT | gltf_material_env (EveryApi &ev, TF model0, int material_id, float mix, BM diffuse_env, BM specular_env, BM bfrd) |
| IMPORT MT | gltf_material3 (EveryApi &ev, float roughness, float metallic, float base_r, float base_g, float base_b, float base_a, float mix, float self_mult, float rest_mult, float light_dir_x, float light_dir_y, float light_dir_z, bool emissive) |
| IMPORT MT | glow_edge (EveryApi &ev, MT next, float light_level, float gray_level, float edge_pos) |
| IMPORT MT | water (EveryApi &ev, MT next, unsigned int color1, unsigned int color2, unsigned int color3, float center_x, float center_y, float center_z, float wave_mult, float time_mult) |
| IMPORT MT | adjust (EveryApi &ev, MT nxt, unsigned int ad_color, float ad_dark, float ad_light) |
| IMPORT MT | phong (EveryApi &ev, MT nxt, float light_dir_x, float light_dir_y, float light_dir_z, unsigned int ambient, unsigned int specular, unsigned int highlight, float pow) |
| IMPORT MT | phong2 (EveryApi &ev, MT nxt, float light_dir_x, float light_dir_y, float light_dir_z, unsigned int ambient, unsigned int specular, unsigned int highlight, float pow) |
| IMPORT MT | vertex_phong (EveryApi &ev, MT nxt, float light_dir_x, float light_dir_y, float light_dir_z, unsigned int ambient, unsigned int highlight, float pow, float mix) |
| IMPORT ARR | m_apply_phong (EveryApi &ev, std::vector< MT > vec, float light_dir_x, float light_dir_y, float light_dir_z, unsigned int ambient, unsigned int specular, unsigned int highlight, float pow) |
| IMPORT ARR | p_dup (EveryApi &ev, P obj, int count) |
| IMPORT ARR | m_dup (EveryApi &ev, MT mat, int count) |
| IMPORT ARR | m_apply_phong_color (EveryApi &ev, std::vector< MT > vec, std::vector< P > vec2, float light_dir_x, float light_dir_y, float light_dir_z, float ambient_mult, float specular_mult, float highlight_mult, float pow) |
| IMPORT MT | edge (EveryApi &ev, MT nxt, float edge_width, unsigned int edge_color) |
| IMPORT MT | gi (EveryApi &ev, MT nxt, PTS points, float obj_size) |
| IMPORT MT | bump_phong (EveryApi &ev, float light_dir_x, float light_dir_y, float light_dir_z, unsigned int ambient, unsigned int highlight, float pow, FB bm, float bump_width) |
| IMPORT MT | fog (EveryApi &ev, MT nxt, float fog_dist, unsigned int dark_color, unsigned int light_color) |
| IMPORT MT | shadow (EveryApi &ev, P p, std::vector< BM > vec, float p_x, float p_y, float p_z, int sx, int sy, unsigned int dark_color, float mix, float mix2) |
| IMPORT MT | shadow2 (EveryApi &ev, P p, float p_x, float p_y, float p_z, int sx, int sy, unsigned int dark_color, float mix, float mix2, int numtextures) |
| IMPORT MT | newshadow (EveryApi &ev, MT nxt, P models, float light_dir_x, float light_dir_y, float light_dir_z, float dark_level, float light_level, float scale, int size, bool is_phong, int texindex, MT shadow_mt) |
| IMPORT ML | newshadow2_phong (EveryApi &ev, P models, MT model_mt, P shadow_mesh, MT shadow_mt, float light_dir_x, float light_dir_y, float light_dir_z, float dark_level, float light_level, unsigned int ambient_color, unsigned int dark_color, unsigned int light_color, float scale, int size, bool draw_model, MT shadow2_mt) |
| IMPORT ML | newshadow2_gltf (EveryApi &ev, TF I1, P shadow_p, MT shadow_mt, float light_dir_x, float light_dir_y, float light_dir_z, float dark_level, float light_level, unsigned int ambient_color, unsigned int dark_color, unsigned int light_color, float scale, int size, MT shadow2_mt, bool emissive) |
| IMPORT ML | gltf_newshadow2 (EveryApi &ev, P models, MT model_mt, P shadow_mesh, MT shadow_mt, float light_dir_x, float light_dir_y, float light_dir_z, float dark_level, float light_level, float scale, int size, TF tf) |
| IMPORT MT | dyn_lights (EveryApi &ev, MT nxt, float light_pos_x, float light_pos_y, float light_pos_z, float dist, MN dyn_point) |
| IMPORT MT | coloured_lights (EveryApi &ev, MT nxt, float scale, unsigned int color_1, unsigned int color_2, unsigned int color_3, unsigned int color_4, unsigned int color_5, unsigned int color_6, unsigned int color_7, unsigned int color_8, PT pos_1, PT pos_2, PT pos_3, PT pos_4, PT pos_5, PT pos_6, PT pos_7, PT pos_8, float dist_1, float dist_2, float dist_3, float dist_4, float dist_5, float dist_6, float dist_7, float dist_8) |
| IMPORT MT | snow (EveryApi &ev, MT nxt, unsigned int color1=0xffaaaaaa, unsigned int color2=0xffeeeeee, unsigned int color3=0xffffffff, float mix_val=0.5f) |
| IMPORT MT | shading1 (EveryApi &ev, MT nxt, float mix_val, float mix_val2) |
| IMPORT MT | shading2 (EveryApi &ev, MT nxt, unsigned int color1, unsigned int colo2, unsigned int color3) |
| IMPORT MT | flat (EveryApi &ev, MT nxt, unsigned int color1, unsigned int color2, unsigned int color3) |
| IMPORT MT | fur (EveryApi &ev, MT nxt, PT center, float dist, float max_angle, int count, float size, int cone_numfaces) |
| IMPORT MT | noise (EveryApi &ev, int sx, int sy, int r, int g, int b, int a, int r2, int g2, int b2, int a2, float mix) |
| IMPORT MT | choose_color (EveryApi &ev, MT nxt, unsigned int color, float mix_val) |
| IMPORT MT | brashmetal (EveryApi &ev, MT nxt, int count, bool web) |
| IMPORT MT | marble (EveryApi &ev, MT nxt, int count, float cubesize) |
| IMPORT MT | web (EveryApi &ev, MT nxt, float val=1.01, float linewidth=2.0, unsigned int color=0xff000000) |
| IMPORT MT | bevel (EveryApi &ev, MT nxt, float dir, float linewidth) |
| IMPORT MT | bloom (EveryApi &ev, MT nxt, BM bm, float r_cut, float g_cut, float b_cut, float pixel_x, float pixel_y) |
| IMPORT MT | dist_field_mesh (EveryApi &ev, SFO sfo, MT next) |
| IMPORT MT | mesh_color_from_sfo (EveryApi &ev, SFO sfo, MT next) |
| IMPORT MT | sfo_sandbox (EveryApi &ev, SFO sfo, MT next) |
| IMPORT MT | combine_materials (EveryApi &ev, MT mat1, MT mat2) |
| IMPORT MT | fade (EveryApi &ev, MT next, float start_time, float end_time, float start_time2, float end_time2) |
| IMPORT ML | bind (P p, MT mat) |
| IMPORT ML | bind_inst (P p, PTS pts, MT mat) |
| IMPORT VA | bind_inst_va_prepare (P p, MT mat) |
| IMPORT ML | bind_inst_va (VA va, PTS pts, MT mat, float level) |
| IMPORT ML | bind_inst_matrix (P p, MS ms, MT mat) |
| IMPORT ML | bind_inst2 (P p, PTA pta, MT mat) |
| IMPORT ML | bind_inst_fade (P p, PTS pts, MT mat, bool flip, float start_time, float end_time) |
| IMPORT ML | render_instanced_ml (EveryApi &ev, P p, PTS pts, bool color_from_pts=false) |
| IMPORT ML | render_instanced_ml_matrix (EveryApi &ev, P p, MS pts, bool color_from_matrix=false) |
| IMPORT ML | render_instanced_ml_fade (EveryApi &ev, P p, PTS pts, bool flip, float start_time, float end_time, bool color_from_pts=false) |
| IMPORT ML | render_instanced_ml_texture (EveryApi &ev, P p, PTS pts, std::vector< BM > vec, std::vector< int > types=std::vector< int >(), std::vector< std::string > id_labels=std::vector< std::string >(), std::vector< bool > is_srgb=std::vector< bool >()) |
| IMPORT ML | render_instanced_ml_texture_id (EveryApi &ev, P p, PTS pts, std::vector< TXID > *vec) |
| IMPORT ML | render_instanced_ml_cubemap (EveryApi &ev, P p, PTS pts, std::vector< BM > vec) |
| IMPORT ML | render_instanced_ml_texture2 (EveryApi &ev, P p, PTS pts) |
| IMPORT ML | render_instanced_ml_texture_matrix (EveryApi &ev, P p, MS pts, std::vector< BM > vec, std::vector< int > types=std::vector< int >(), std::vector< std::string > id_labels=std::vector< std::string >(), std::vector< bool > is_srgb=std::vector< bool >()) |
| IMPORT ML | render_instanced_ml_texture_id_matrix (EveryApi &ev, P p, MS pts, std::vector< TXID > *vec) |
| IMPORT ML | render_instanced_ml_cubemap_matrix (EveryApi &ev, P p, MS pts, std::vector< BM > vec) |
| IMPORT ML | render_instanced_ml_texture2_matrix (EveryApi &ev, P p, MS pts) |
| IMPORT ML | render_instanced_ml_fade_texture (EveryApi &ev, P p, PTS pts, bool flip, float start_time, float end_time, std::vector< BM > vec) |
| IMPORT ML | render_instanced2_ml (EveryApi &ev, VA va, PTA pta, bool color_from_pts=false) |
| IMPORT ML | render_instanced2_ml_texture (EveryApi &ev, VA va, PTA pta, std::vector< BM > vec) |
| IMPORT ML | render_instanced2_ml_texture2 (EveryApi &ev, VA va, PTA pta) |
| IMPORT ML | render_instanced2_ml_texture_id (EveryApi &ev, VA va, PTA pta, std::vector< TXID > *vec) |
| IMPORT ML | render_instanced2_ml_matrix (EveryApi &ev, VA va, MSA pta) |
| IMPORT ML | render_instanced2_ml_fade (EveryApi &ev, VA va, PTA pta, bool flip, float start_time, float end_time) |
| GameApi::MaterialsApi::MaterialsApi | ( | Env & | e | ) |
| EXPORT GameApi::MT GameApi::MaterialsApi::acesfilm_material | ( | EveryApi & | ev, |
| MT | next ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::adjust | ( | EveryApi & | ev, |
| MT | nxt, | ||
| unsigned int | ad_color, | ||
| float | ad_dark, | ||
| float | ad_light ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::bevel | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | dir, | ||
| float | linewidth ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::bind | ( | P | p, |
| MT | mat ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::bind_inst | ( | P | p, |
| PTS | pts, | ||
| MT | mat ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::bind_inst2 | ( | P | p, |
| PTA | pta, | ||
| MT | mat ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::bind_inst_fade | ( | P | p, |
| PTS | pts, | ||
| MT | mat, | ||
| bool | flip, | ||
| float | start_time, | ||
| float | end_time ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::bind_inst_matrix | ( | P | p, |
| MS | ms, | ||
| MT | mat ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::bind_inst_va | ( | VA | va, |
| PTS | pts, | ||
| MT | mat, | ||
| float | level ) |
| EXPORT GameApi::VA GameApi::MaterialsApi::bind_inst_va_prepare | ( | P | p, |
| MT | mat ) |
| EXPORT GameApi::MT GameApi::MaterialsApi::bloom | ( | EveryApi & | ev, |
| MT | nxt, | ||
| BM | bm, | ||
| float | r_cut, | ||
| float | g_cut, | ||
| float | b_cut, | ||
| float | pixel_x, | ||
| float | pixel_y ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::brashmetal | ( | EveryApi & | ev, |
| MT | nxt, | ||
| int | count, | ||
| bool | web ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::bump_phong | ( | EveryApi & | ev, |
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| unsigned int | ambient, | ||
| unsigned int | highlight, | ||
| float | pow, | ||
| FB | bm, | ||
| float | bump_width ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::choose_color | ( | EveryApi & | ev, |
| MT | nxt, | ||
| unsigned int | color, | ||
| float | mix_val ) |

| GameApi::MT GameApi::MaterialsApi::choose_material | ( | EveryApi & | ev, |
| int | i ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::colour_material | ( | EveryApi & | ev, |
| float | mix, | ||
| bool | color_from_pts = false ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::coloured_lights | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | scale, | ||
| unsigned int | color_1, | ||
| unsigned int | color_2, | ||
| unsigned int | color_3, | ||
| unsigned int | color_4, | ||
| unsigned int | color_5, | ||
| unsigned int | color_6, | ||
| unsigned int | color_7, | ||
| unsigned int | color_8, | ||
| GameApi::PT | pos_1, | ||
| GameApi::PT | pos_2, | ||
| GameApi::PT | pos_3, | ||
| GameApi::PT | pos_4, | ||
| GameApi::PT | pos_5, | ||
| GameApi::PT | pos_6, | ||
| GameApi::PT | pos_7, | ||
| GameApi::PT | pos_8, | ||
| float | dist_1, | ||
| float | dist_2, | ||
| float | dist_3, | ||
| float | dist_4, | ||
| float | dist_5, | ||
| float | dist_6, | ||
| float | dist_7, | ||
| float | dist_8 ) |

| GameApi::MT GameApi::MaterialsApi::combine_materials | ( | EveryApi & | ev, |
| MT | mat1, | ||
| MT | mat2 ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::discard_material | ( | EveryApi & | ev, |
| MT | next ) |

| GameApi::MT GameApi::MaterialsApi::dist_field_mesh | ( | EveryApi & | ev, |
| SFO | sfo, | ||
| MT | next ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::dyn_lights | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | light_pos_x, | ||
| float | light_pos_y, | ||
| float | light_pos_z, | ||
| float | dist, | ||
| MN | dyn_point ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::edge | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | edge_width, | ||
| unsigned int | edge_color ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::fade | ( | EveryApi & | ev, |
| MT | next, | ||
| float | start_time, | ||
| float | end_time, | ||
| float | start_time2, | ||
| float | end_time2 ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::flat | ( | EveryApi & | ev, |
| MT | nxt, | ||
| unsigned int | color1, | ||
| unsigned int | color2, | ||
| unsigned int | color3 ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::fog | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | fog_dist, | ||
| unsigned int | dark_color, | ||
| unsigned int | light_color ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::fur | ( | EveryApi & | ev, |
| MT | nxt, | ||
| PT | center, | ||
| float | dist, | ||
| float | max_angle, | ||
| int | count, | ||
| float | size, | ||
| int | cone_numfaces ) |

| GameApi::SMT GameApi::MaterialsApi::generic_screenspace_material00 | ( | EveryApi & | ev, |
| SMT | next, | ||
| SHI | vertex, | ||
| SHI | fragment ) |

| GameApi::MT GameApi::MaterialsApi::generic_shader_material0 | ( | EveryApi & | ev, |
| MT | next, | ||
| std::string | funcname, | ||
| std::string | vertexshadercode_url, | ||
| std::string | fragmentshadercode_url ) |

| GameApi::MT GameApi::MaterialsApi::generic_shader_material00 | ( | EveryApi & | ev, |
| MT | next, | ||
| SHI | vertex, | ||
| SHI | fragment, | ||
| std::vector< TXID > | vec ) |

| GameApi::MT GameApi::MaterialsApi::generic_shader_material1 | ( | EveryApi & | ev, |
| MT | next, | ||
| SHP | params, | ||
| std::string | funcname, | ||
| std::string | vertexshadercode_url, | ||
| std::string | fragmentshadercode_url ) |

| GameApi::MT GameApi::MaterialsApi::generic_shader_material2 | ( | EveryApi & | ev, |
| MT | next, | ||
| SHP | params, | ||
| std::string | funcname, | ||
| std::string | vertexshadercode_url, | ||
| std::string | fragmentshadercode_url, | ||
| std::vector< SHI > | children ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::gi | ( | EveryApi & | ev, |
| MT | nxt, | ||
| PTS | points, | ||
| float | obj_size ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::glow_edge | ( | EveryApi & | ev, |
| MT | next, | ||
| float | light_level, | ||
| float | gray_level, | ||
| float | edge_pos ) |

| GameApi::MT GameApi::MaterialsApi::gltf_anim_material | ( | GameApi::EveryApi & | ev, |
| TF | model0, | ||
| int | skin_num, | ||
| int | animation, | ||
| int | num_timeindexes, | ||
| MT | next, | ||
| int | key, | ||
| int | mode, | ||
| TRA | anim_transfer_id, | ||
| int | frame_skip ) |

| GameApi::MT GameApi::MaterialsApi::gltf_anim_material2 | ( | GameApi::EveryApi & | ev, |
| TF | model0, | ||
| int | skin_num, | ||
| int | num_timeindexes, | ||
| MT | next, | ||
| std::string | keys, | ||
| int | mode, | ||
| TRA | anim_transfer_id, | ||
| int | frame_skip ) |

| GameApi::MT GameApi::MaterialsApi::gltf_material | ( | EveryApi & | ev, |
| TF | model0, | ||
| int | material_id, | ||
| float | mix, | ||
| float | self_mult, | ||
| float | rest_mult, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| bool | emissive, | ||
| int | lod_level = -1 ) |

| GameApi::MT GameApi::MaterialsApi::gltf_material3 | ( | GameApi::EveryApi & | ev, |
| float | roughness, | ||
| float | metallic, | ||
| float | base_r, | ||
| float | base_g, | ||
| float | base_b, | ||
| float | base_a, | ||
| float | mix, | ||
| float | self_mult, | ||
| float | rest_mult, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| bool | emissive ) |

| GameApi::MT GameApi::MaterialsApi::gltf_material_env | ( | EveryApi & | ev, |
| TF | model0, | ||
| int | material_id, | ||
| float | mix, | ||
| BM | diffuse_env, | ||
| BM | specular_env, | ||
| BM | bfrd ) |

| GameApi::MT GameApi::MaterialsApi::gltf_material_from_file | ( | GameApi::EveryApi & | ev, |
| std::string | url, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z ) |

| GameApi::MT GameApi::MaterialsApi::gltf_material_manual | ( | EveryApi & | ev, |
| float | mix, | ||
| float | self_mult, | ||
| float | rest_mult, | ||
| BM | baseColor, | ||
| BM | metalrough, | ||
| BM | normaltexture, | ||
| BM | occlusion, | ||
| 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, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::gltf_newshadow2 | ( | EveryApi & | ev, |
| P | models, | ||
| MT | model_mt, | ||
| P | shadow_mesh, | ||
| MT | shadow_mt, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| float | dark_level, | ||
| float | light_level, | ||
| float | scale, | ||
| int | size, | ||
| TF | tf ) |
| GameApi::MT GameApi::MaterialsApi::hires | ( | EveryApi & | ev, |
| MT | mat, | ||
| int | size, | ||
| int | numsampled, | ||
| float | blur_radius ) |

| EXPORT GameApi::ARR GameApi::MaterialsApi::m_apply_phong | ( | EveryApi & | ev, |
| std::vector< MT > | vec, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| unsigned int | ambient, | ||
| unsigned int | specular, | ||
| unsigned int | highlight, | ||
| float | pow ) |

| EXPORT GameApi::ARR GameApi::MaterialsApi::m_apply_phong_color | ( | EveryApi & | ev, |
| std::vector< MT > | vec, | ||
| std::vector< P > | vec2, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| float | ambient_mult, | ||
| float | specular_mult, | ||
| float | highlight_mult, | ||
| float | pow ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::m_def | ( | EveryApi & | ev | ) |

| EXPORT GameApi::ARR GameApi::MaterialsApi::m_dup | ( | EveryApi & | ev, |
| MT | mat, | ||
| int | count ) |

| GameApi::MT GameApi::MaterialsApi::m_keys | ( | EveryApi & | ev, |
| std::vector< MT > | vec, | ||
| std::string | keys ) |

| GameApi::MT GameApi::MaterialsApi::many_texture_id_material | ( | GameApi::EveryApi & | ev, |
| std::string | mtl_url, | ||
| std::string | url_prefix, | ||
| float | mix, | ||
| int | start_range, | ||
| int | end_range ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::marble | ( | EveryApi & | ev, |
| MT | nxt, | ||
| int | count, | ||
| float | cubesize ) |

| GameApi::ARR GameApi::MaterialsApi::material_pack_1 | ( | GameApi::EveryApi & | ev | ) |
| GameApi::MT GameApi::MaterialsApi::mesh_color_from_sfo | ( | EveryApi & | ev, |
| SFO | sfo, | ||
| MT | next ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::mt_alt | ( | EveryApi & | ev, |
| std::vector< MT > | v, | ||
| int | index ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::mt_empty | ( | EveryApi & | ev | ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::newshadow | ( | EveryApi & | ev, |
| MT | nxt, | ||
| P | models, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| float | dark_level, | ||
| float | light_level, | ||
| float | scale, | ||
| int | size, | ||
| bool | is_phong, | ||
| int | texindex, | ||
| GameApi::MT | shadow_mat ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::newshadow2_gltf | ( | EveryApi & | ev, |
| TF | I1, | ||
| P | shadow_p, | ||
| MT | shadow_mt, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| float | dark_level, | ||
| float | light_level, | ||
| unsigned int | ambient_color, | ||
| unsigned int | dark_color, | ||
| unsigned int | light_color, | ||
| float | scale, | ||
| int | size, | ||
| MT | shadow2_mt, | ||
| bool | emissive ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::newshadow2_phong | ( | EveryApi & | ev, |
| P | models, | ||
| MT | model_mt, | ||
| P | shadow_mesh, | ||
| MT | shadow_mt, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| float | dark_level, | ||
| float | light_level, | ||
| unsigned int | ambient_color, | ||
| unsigned int | dark_color, | ||
| unsigned int | light_color, | ||
| float | scale, | ||
| int | size, | ||
| bool | draw_model, | ||
| MT | shadow2_mt ) |

| GameApi::MT GameApi::MaterialsApi::noise | ( | EveryApi & | ev, |
| int | sx, | ||
| int | sy, | ||
| int | r, | ||
| int | g, | ||
| int | b, | ||
| int | a, | ||
| int | r2, | ||
| int | g2, | ||
| int | b2, | ||
| int | a2, | ||
| float | mix ) |

| EXPORT GameApi::ARR GameApi::MaterialsApi::p_dup | ( | EveryApi & | ev, |
| P | obj, | ||
| int | count ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::phong | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| unsigned int | ambient, | ||
| unsigned int | specular, | ||
| unsigned int | highlight, | ||
| float | pow ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::phong2 | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| unsigned int | ambient, | ||
| unsigned int | specular, | ||
| unsigned int | highlight, | ||
| float | pow ) |

| GameApi::MT GameApi::MaterialsApi::phong3_material | ( | EveryApi & | ev, |
| MT | next, | ||
| unsigned int | ambient, | ||
| unsigned int | highlight, | ||
| float | pow ) |

| GameApi::MT GameApi::MaterialsApi::progressmaterial | ( | MT | nxt, |
| void(* | fptr )(void *), | ||
| void * | data ) |
| GameApi::MT GameApi::MaterialsApi::reload_material | ( | EveryApi & | ev, |
| MT | next, | ||
| std::string | name, | ||
| P | default_p, | ||
| MT | default_mat ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced2_ml | ( | GameApi::EveryApi & | ev, |
| VA | va, | ||
| PTA | pta, | ||
| bool | color_from_pts = false ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced2_ml_fade | ( | GameApi::EveryApi & | ev, |
| VA | va, | ||
| PTA | pta, | ||
| bool | flip, | ||
| float | start_time, | ||
| float | end_time ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced2_ml_matrix | ( | GameApi::EveryApi & | ev, |
| VA | va, | ||
| MSA | pta ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced2_ml_texture | ( | GameApi::EveryApi & | ev, |
| GameApi::VA | va, | ||
| GameApi::PTA | pta, | ||
| std::vector< BM > | vec ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced2_ml_texture2 | ( | GameApi::EveryApi & | ev, |
| VA | va, | ||
| PTA | pta ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced2_ml_texture_id | ( | GameApi::EveryApi & | ev, |
| GameApi::VA | va, | ||
| GameApi::PTA | pta, | ||
| std::vector< TXID > * | vec ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| PTS | pts, | ||
| bool | color_from_pts = false ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_cubemap | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| PTS | pts, | ||
| std::vector< BM > | vec ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_cubemap_matrix | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| MS | pts, | ||
| std::vector< BM > | vec ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_fade | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| PTS | pts, | ||
| bool | flip, | ||
| float | start_time, | ||
| float | end_time, | ||
| bool | color_from_pts = false ) |

| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_fade_texture | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| PTS | pts, | ||
| bool | flip, | ||
| float | start_time, | ||
| float | end_time, | ||
| std::vector< BM > | vec ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_matrix | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| MS | pts, | ||
| bool | color_from_matrix = false ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_texture | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| PTS | pts, | ||
| std::vector< BM > | vec, | ||
| std::vector< int > | types = std::vector<int>(), | ||
| std::vector< std::string > | id_labels = std::vector<std::string>(), | ||
| std::vector< bool > | is_srgb = std::vector<bool>() ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_texture2 | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| PTS | pts ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_texture2_matrix | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| MS | pts ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_texture_id | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| PTS | pts, | ||
| std::vector< TXID > * | vec ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_texture_id_matrix | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| MS | pts, | ||
| std::vector< TXID > * | vec ) |
| EXPORT GameApi::ML GameApi::MaterialsApi::render_instanced_ml_texture_matrix | ( | GameApi::EveryApi & | ev, |
| P | p, | ||
| MS | pts, | ||
| std::vector< BM > | vec, | ||
| std::vector< int > | types = std::vector<int>(), | ||
| std::vector< std::string > | id_labels = std::vector<std::string>(), | ||
| std::vector< bool > | is_srgb = std::vector<bool>() ) |
| GameApi::SMT GameApi::MaterialsApi::screenspace_bloom | ( | EveryApi & | ev, |
| SMT | next, | ||
| float | cut_x, | ||
| float | cut_y, | ||
| float | cut_z, | ||
| float | x_amount, | ||
| float | y_amount ) |

| GameApi::MT GameApi::MaterialsApi::sfo_sandbox | ( | EveryApi & | ev, |
| SFO | sfo, | ||
| MT | next ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::shading1 | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | mix_val, | ||
| float | mix_val2 ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::shading2 | ( | EveryApi & | ev, |
| MT | nxt, | ||
| unsigned int | color1, | ||
| unsigned int | colo2, | ||
| unsigned int | color3 ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::shadow | ( | EveryApi & | ev, |
| GameApi::P | p, | ||
| std::vector< BM > | vec, | ||
| float | p_x, | ||
| float | p_y, | ||
| float | p_z, | ||
| int | sx, | ||
| int | sy, | ||
| unsigned int | dark_color, | ||
| float | mix, | ||
| float | mix2 ) |
| EXPORT GameApi::MT GameApi::MaterialsApi::shadow2 | ( | EveryApi & | ev, |
| GameApi::P | p, | ||
| float | p_x, | ||
| float | p_y, | ||
| float | p_z, | ||
| int | sx, | ||
| int | sy, | ||
| unsigned int | dark_color, | ||
| float | mix, | ||
| float | mix2, | ||
| int | numtextures ) |
| EXPORT GameApi::MT GameApi::MaterialsApi::skeletal | ( | EveryApi & | ev | ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::snow | ( | EveryApi & | ev, |
| MT | nxt, | ||
| unsigned int | color1 = 0xffaaaaaa, | ||
| unsigned int | color2 = 0xffeeeeee, | ||
| unsigned int | color3 = 0xffffffff, | ||
| float | mix_val = 0.5f ) |

| GameApi::SMT GameApi::MaterialsApi::ss_def | ( | GameApi::EveryApi & | ev | ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::texture | ( | EveryApi & | ev, |
| BM | bm, | ||
| float | mix ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::texture_arr | ( | EveryApi & | ev, |
| std::vector< BM > | vec, | ||
| int | sx, | ||
| int | sy, | ||
| float | mix ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::texture_cubemap | ( | EveryApi & | ev, |
| std::vector< BM > | vec, | ||
| float | mix, | ||
| float | mix2 ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::texture_many | ( | EveryApi & | ev, |
| std::vector< BM > | vec, | ||
| float | mix ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::texture_many2 | ( | EveryApi & | ev, |
| float | mix ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::textureid | ( | EveryApi & | ev, |
| TXID | txid, | ||
| float | mix ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::toon_border | ( | EveryApi & | ev, |
| MT | next, | ||
| float | border_width, | ||
| unsigned int | color, | ||
| bool | is_gltf ) |

| GameApi::MT GameApi::MaterialsApi::transparent_material | ( | EveryApi & | ev, |
| BM | bm, | ||
| MT | next, | ||
| bool | is_transparent ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::vertex_phong | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | light_dir_x, | ||
| float | light_dir_y, | ||
| float | light_dir_z, | ||
| unsigned int | ambient, | ||
| unsigned int | highlight, | ||
| float | pow, | ||
| float | mix ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::water | ( | EveryApi & | ev, |
| MT | next, | ||
| unsigned int | color1, | ||
| unsigned int | color2, | ||
| unsigned int | color3, | ||
| float | center_x, | ||
| float | center_y, | ||
| float | center_z, | ||
| float | wave_mult, | ||
| float | time_mult ) |

| EXPORT GameApi::MT GameApi::MaterialsApi::web | ( | EveryApi & | ev, |
| MT | nxt, | ||
| float | val = 1.01, | ||
| float | linewidth = 2.0, | ||
| unsigned int | color = 0xff000000 ) |
