MCPcopy Create free account

hub / github.com/HexyWitch/ld48 / functions

Functions49 in github.com/HexyWitch/ld48

↓ 21 callersFunctionrender_quad
( rect: Box2D<f32>, tex_coords: TextureRect, color: [f32; 4], out: &mut Vec<Vertex>, )
src/graphics.rs:159
↓ 15 callersMethodset_uniform
(&mut self, index: usize, value: Uniform<'_>)
src/gl.rs:390
↓ 9 callersMethodrender_vertices
( &self, vertex_buffer: &VertexBuffer, target: RenderTarget, )
src/gl.rs:419
↓ 9 callersMethodwrite
(&mut self, vertices: &[V])
src/gl.rs:324
↓ 8 callersMethodplay
(&self, audio: &Audio, volume: f32, do_loop: bool)
src/mixer.rs:41
↓ 7 callersMethodclear
(&mut self, target: RenderTarget, color: [f32; 4])
src/gl.rs:291
↓ 6 callersMethodload_ogg
(&self, bytes: &[u8])
src/mixer.rs:27
↓ 5 callersFunctionroom_block_colors
(color: RoomColor)
src/game.rs:1457
↓ 5 callersMethodset_transform
(&mut self, t: Transform2D<f32>)
src/graphics.rs:51
↓ 4 callersMethodcreate_vertex_buffer
(&mut self)
src/gl.rs:139
↓ 4 callersFunctionload_image
( image_bytes: &[u8], texture_atlas: &mut TextureAtlas, texture: &mut gl::Texture, )
src/graphics.rs:60
↓ 4 callersFunctionrender_sprite
( sprite: &Sprite, frame: usize, position: Point2D<f32>, color: [f32; 4], out: &mut Vec<Ve
src/graphics.rs:97
↓ 2 callersMethodadd_texture
(&mut self, size: (u32, u32))
src/texture_atlas.rs:17
↓ 2 callersMethodcreate_shader
( &mut self, shader_type: ShaderType, src: &str, )
src/gl.rs:58
↓ 2 callersMethodcreate_texture
( &mut self, format: TextureFormat, width: u32, height: u32, )
src/gl.rs:180
↓ 2 callersMethodfor_each_tile_in_rect
( &self, bound_rect: Rect<f32>, mut f: impl FnMut(Point2D<i32>, Tile), )
src/game.rs:1485
↓ 2 callersFunctionget_key_from_code
(key: &str)
src/platform/web/mod.rs:238
↓ 2 callersFunctionget_mouse_button
(button: i16)
src/platform/web/mod.rs:282
↓ 2 callersMethodset_looping
(&self, handle: &AudioInstanceHandle, do_loop: bool)
src/mixer.rs:62
↓ 2 callersMethodset_volume
(&self, handle: &AudioInstanceHandle, volume: f32)
src/mixer.rs:55
↓ 1 callersFunctionbuild_room_vertex_buffer
( gl_context: &mut gl::Context, room_block_textures: &HashMap<RoomColor, TextureRect>, room_color:
src/game.rs:1099
↓ 1 callersMethodcreate_program
(&mut self, desc: &ProgramDescriptor)
src/gl.rs:78
↓ 1 callersFunctioncreate_room_block
(room: &Room, color: RoomColor)
src/game.rs:1238
↓ 1 callersMethodcreate_texture_render_target
( &mut self, texture: &Texture, )
src/gl.rs:153
↓ 1 callersMethoddraw
(&mut self, context: &mut gl::Context)
src/game.rs:753
↓ 1 callersMethodentrance
(&self, entrance: RoomEntrance)
src/game.rs:1509
↓ 1 callersFunctionget_key
(vk: VirtualKeyCode)
src/platform/native/mod.rs:132
↓ 1 callersFunctionget_mouse_button
(button: GlutinMouseButton)
src/platform/native/mod.rs:176
↓ 1 callersMethodhue
(&self)
src/game.rs:1404
↓ 1 callersFunctionlerp
(x: f32, a: f32, b: f32)
src/game.rs:1578
↓ 1 callersFunctionload_raw_image
( bytes: &[u8], height: u32, width: u32, texture_atlas: &mut TextureAtlas, texture: &mut g
src/graphics.rs:79
↓ 1 callersMethodmaintain
(&mut self)
src/gl.rs:252
↓ 1 callersMethodpoll
(&self, out: &mut [i16])
src/mixer.rs:69
↓ 1 callersFunctionrun
( title: &str, size: (u32, u32), f: F, )
src/platform/web/mod.rs:16
↓ 1 callersFunctionstart_audio_playback
(mut f: F)
src/platform/web/audio.rs:8
↓ 1 callersMethodtransform
(&self)
src/graphics.rs:55
↓ 1 callersMethoduniform_type
(&self)
src/gl.rs:601
↓ 1 callersMethodupdate
(&mut self, inputs: &[InputEvent])
src/game.rs:392
Methoddefault
()
src/mixer.rs:18
Methoddrop
(&mut self)
src/platform/web/mod.rs:228
Methodfrom_glow_context
(context: glow::Context)
src/gl.rs:46
Functionmain
()
src/main.rs:17
Methodnew
(gl_context: &mut gl::Context, mixer: Arc<Mixer>)
src/game.rs:58
Methodnew
(size: (u32, u32))
src/texture_atlas.rs:11
Methodnew
(image: TextureRect, frame_count: u32, origin: Point2D<f32>)
src/graphics.rs:30
Methodnew
Handled input events will result in a call of the given callback until the returned `InputStream` is dropped. Mouse events are handled at the element
src/platform/web/mod.rs:159
Functionparse_room
(level: &str)
src/game.rs:1518
Functionrun
( title: &str, size: (u32, u32), f: F, )
src/platform/native/mod.rs:16
Functionstart_audio_playback
(mut f: F)
src/platform/native/audio.rs:6