Skip to main content

Module render_ops

Module render_ops 

Source

Structs§

RenderBridgeState
Shared state between render ops and the main loop. This is placed into OpState when running in renderer mode.
render_ext
An extension for use with the Deno JS runtime. To use it, provide it as an argument when instantiating your runtime:

Enums§

BridgeAudioCommand
Audio command queued from TS ops, drained by the frame callback.

Functions§

op_add_point_light
op_clear_lights
op_clear_sprites
op_create_font_texture
op_create_solid_texture
op_create_tilemap
op_draw_sprite
op_draw_tilemap
op_get_camera
op_get_delta_time
op_get_mouse_position
op_get_tile
op_get_viewport_size
op_is_key_down
op_is_key_pressed
op_load_sound
op_load_texture
op_play_sound
op_set_ambient_light
op_set_camera
op_set_master_volume
op_set_tile
op_stop_all_sounds
op_stop_sound