MCPcopy Create free account

hub / github.com/ArjunNair/egui_sdl2_gl / functions

Functions44 in github.com/ArjunNair/egui_sdl2_gl

↓ 6 callersMethodprocess_input
( &mut self, window: &sdl2::video::Window, event: sdl2::event::Event, painter:
src/lib.rs:130
↓ 3 callersMethodpaint_jobs
( &mut self, bg_color: Option<Color32>, textures_delta: egui::TexturesDelta, p
src/painter.rs:285
↓ 3 callersMethodprocess_output
( &mut self, window: &sdl2::video::Window, egui_output: &egui::PlatformOutput, )
src/lib.rs:139
↓ 3 callersFunctionwith_sdl2
( window: &sdl2::video::Window, shader_ver: ShaderVersion, scale: DpiScaling, )
src/lib.rs:86
↓ 2 callersFunctioncompile_shader
(src: &str, ty: GLenum)
src/painter.rs:79
↓ 2 callersFunctioncompile_shader
(src: &str, ty: GLenum)
examples/mix/triangle.rs:48
↓ 2 callersFunctiontranslate_virtual_key_code
(key: Keycode)
src/lib.rs:336
↓ 1 callersMethodcleanup
(&self)
src/painter.rs:396
↓ 1 callersMethoddraw
(&self)
examples/mix/triangle.rs:172
↓ 1 callersMethodfree_texture
fn free_texture() and fn free() implemented from epi both are basically the same.
src/painter.rs:251
↓ 1 callersFunctionget_frame_time
Frame time for CPU usage.
src/lib.rs:25
↓ 1 callersFunctioninput_to_egui
( window: &sdl2::video::Window, event: sdl2::event::Event, painter: &mut Painter, state: &mut
src/lib.rs:161
↓ 1 callersFunctionlink_program
(vs: GLuint, fs: GLuint)
src/painter.rs:99
↓ 1 callersFunctionlink_program
(vs: GLuint, fs: GLuint)
examples/mix/triangle.rs:83
↓ 1 callersMethodnew_user_texture
( &mut self, size: (usize, usize), srgba_pixels: &[Color32], filtering: bool,
src/painter.rs:197
↓ 1 callersMethodpaint_mesh
(&self, mesh: &Mesh)
src/painter.rs:503
↓ 1 callersFunctiontranslate_cursor
(fused: &mut FusedCursor, cursor_icon: egui::CursorIcon)
src/lib.rs:400
↓ 1 callersMethodupdate_screen_rect
(&mut self, size: (u32, u32))
src/painter.rs:190
↓ 1 callersMethodupdate_user_texture_data
(&mut self, id: egui::TextureId, _pixels: &[Color32])
src/painter.rs:262
↓ 1 callersMethodupload_egui_texture
(&mut self, id: egui::TextureId, delta: &egui::epaint::ImageDelta)
src/painter.rs:412
↓ 1 callersMethodupload_user_textures
(&mut self)
src/painter.rs:486
Methodclear
(&mut self)
src/clipboard.rs:35
Methoddefault
()
src/lib.rs:32
Methoddrop
(&mut self)
src/painter.rs:644
Methoddrop
(&mut self)
examples/mix/triangle.rs:187
Methodfmt
(&self, _f: &mut core::fmt::Formatter)
src/clipboard.rs:4
Methodget_contents
(&mut self)
src/clipboard.rs:28
Functionget_program_error
(id: u32)
src/painter.rs:75
Methodget_raw_gl_texture_id
(&self, id: &egui::TextureId)
src/painter.rs:174
Functionget_shader_error
(id: u32)
src/painter.rs:71
Methodget_texture
(&self, id: &egui::TextureId)
src/painter.rs:170
Functionmain
()
examples/demo_lib.rs:21
Functionmain
()
examples/basic.rs:14
Functionmain
()
examples/mix/main.rs:19
Methodnew
()
src/lib.rs:49
Methodnew
()
src/clipboard.rs:23
Methodnew
(window: &sdl2::video::Window, scale: f32, shader_ver: ShaderVersion)
src/painter.rs:118
Methodnew
()
examples/mix/triangle.rs:121
Methodnew_user_texture_rgba8
Creates a new user texture from rgba8
src/painter.rs:229
Methodrequest_repaint
(&self)
src/lib.rs:40
Methodset_contents
(&mut self, contents: String)
src/clipboard.rs:31
Methodset_raw_gl_texture_id
( &mut self, egui_tex_id: &egui::TextureId, gl_tex_id: GLuint, )
src/painter.rs:178
Methodupdate_user_texture_rgba8_data
Updates texture rgba8 data
src/painter.rs:278
Methoduse_gl_texture2d
( gl_id: &mut Option<GLuint>, pixels: &[u8], width: i32, height: i32,
src/painter.rs:593