Loading...
 
functions        

functions

This is a rough list of the available functions of Grit.

fqn
fqn_ex
path_stack
path_stack_top
path_stack_push_file
path_stack_push_dir
path_stack_pop
include
safe_include
error
error_handler
alive
echo
console_poll
clicked_close
have_focus
get_keyb_presses
keyb_flush
set_keyb_verbose
get_keyb_verbose
get_mouse_events
set_mouse_pos
get_mouse_hide
set_mouse_hide
get_mouse_grab
set_mouse_grab
micros
seconds
sleep_seconds
sleep_micros
sleep
get_clipboard
set_clipboard
get_alloc_stats
set_alloc_stats
reset_alloc_stats
get_in_queue_size
get_out_queue_size_gpu
get_out_queue_size_host
give_queue_allowance
handle_bastards
check_ram_gpu
check_ram_host
mlockall
munlockall
profiler_start
profiler_stop
PlotV3
Plot
StringDB
future_event
clear_events
dump_events
do_events
streamer_centre
core_option
class_add
class_del
class_all_del
class_get
class_has
class_all
class_count
object_add
object_del
object_all_del
object_get
object_has
object_all
object_count
object_all_activated
object_count_activated
object_all_of_class
object_count_of_class
object_all_deactivate
object_do_frame_callbacks
gfx_render
gfx_screenshot
gfx_option
gfx_body_make
gfx_sky_body_make
gfx_light_make
gfx_sun_get_diffuse
gfx_sun_set_diffuse
gfx_sun_get_specular
gfx_sun_set_specular
gfx_sun_get_direction
gfx_sun_set_direction
gfx_fog_get_colour
gfx_fog_set_colour
gfx_fog_get_density
gfx_fog_set_density
gfx_get_scene_ambient
gfx_set_scene_ambient
gfx_particle_define
gfx_particle_emit
gfx_particle_pump
gfx_particle_count
gfx_particle_step_size_set
gfx_particle_step_size_get
get_rendersystem
get_hud_root
get_main_win
load_material
get_all_materials
get_material
get_material_budget
set_material_budget
get_material_usage
unload_all_materials
unload_unused_materials
remove_material
load_texture
get_all_textures
get_texture
get_texture_verbose
set_texture_verbose
get_texture_budget
set_texture_budget
get_texture_usage
unload_all_textures
unload_unused_textures
remove_texture
load_mesh
get_all_meshes
get_mesh
get_mesh_verbose
set_mesh_verbose
get_mesh_budget
set_mesh_budget
get_mesh_usage
unload_all_meshes
unload_unused_meshes
remove_mesh
load_skeleton
get_all_skeletons
get_skeleton
get_skeleton_verbose
set_skeleton_verbose
get_skeleton_budget
set_skeleton_budget
get_skeleton_usage
unload_all_skeletons
unload_unused_skeletones
remove_skeleton
make_gpuprog
get_all_gpuprogs
get_gpuprog
get_gpuprog_verbose
set_gpuprog_verbose
get_gpuprog_budget
set_gpuprog_budget
get_gpuprog_usage
unload_all_gpuprogs
unload_unused_gpuprogs
remove_gpuprog
register_material
register_sky_material
dump_registered_material
registered_material_get
reprocess_all_registered_materials
add_font
text_width
text_pixel_substr
text_wrap
Material
Texture
get_sm
get_scene_manager
get_render_target
add_resource_location
initialise_all_resource_groups
resource_exists
physics_get_material
physics_set_material
physics_set_interaction_groups
physics_draw
physics_test
physics_pump
physics_update_graphics
physics_body_make
physics_get_gravity
physics_option
physics_cast
physics_sweep_sphere
physics_sweep_cylinder
physics_sweep_box
audio_source_make
audio_source_make_ambient
audio_play
audio_play_ambient
audio_update
audio_option
disk_resource_get_gfx_verbose_loads
disk_resource_set_gfx_verbose_loads
disk_resource_get_verbose_loads
disk_resource_set_verbose_loads
disk_resource_get_verbose_incs
disk_resource_set_verbose_incs
disk_resource_num
disk_resource_num_loaded
disk_resource_all
disk_resource_all_loaded
disk_resource_add
disk_resource_has
disk_resource_users
disk_resource_loaded
disk_resource_load
disk_resource_ensure_loaded
disk_resource_unload
disk_resource_reload
disk_resource_acquire
disk_resource_release