Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArjunNair/egui_sdl2_gl
/ functions
Functions
44 in github.com/ArjunNair/egui_sdl2_gl
⨍
Functions
44
◇
Types & classes
11
↓ 6 callers
Method
process_input
( &mut self, window: &sdl2::video::Window, event: sdl2::event::Event, painter:
src/lib.rs:130
↓ 3 callers
Method
paint_jobs
( &mut self, bg_color: Option<Color32>, textures_delta: egui::TexturesDelta, p
src/painter.rs:285
↓ 3 callers
Method
process_output
( &mut self, window: &sdl2::video::Window, egui_output: &egui::PlatformOutput, )
src/lib.rs:139
↓ 3 callers
Function
with_sdl2
( window: &sdl2::video::Window, shader_ver: ShaderVersion, scale: DpiScaling, )
src/lib.rs:86
↓ 2 callers
Function
compile_shader
(src: &str, ty: GLenum)
src/painter.rs:79
↓ 2 callers
Function
compile_shader
(src: &str, ty: GLenum)
examples/mix/triangle.rs:48
↓ 2 callers
Function
translate_virtual_key_code
(key: Keycode)
src/lib.rs:336
↓ 1 callers
Method
cleanup
(&self)
src/painter.rs:396
↓ 1 callers
Method
draw
(&self)
examples/mix/triangle.rs:172
↓ 1 callers
Method
free_texture
fn free_texture() and fn free() implemented from epi both are basically the same.
src/painter.rs:251
↓ 1 callers
Function
get_frame_time
Frame time for CPU usage.
src/lib.rs:25
↓ 1 callers
Function
input_to_egui
( window: &sdl2::video::Window, event: sdl2::event::Event, painter: &mut Painter, state: &mut
src/lib.rs:161
↓ 1 callers
Function
link_program
(vs: GLuint, fs: GLuint)
src/painter.rs:99
↓ 1 callers
Function
link_program
(vs: GLuint, fs: GLuint)
examples/mix/triangle.rs:83
↓ 1 callers
Method
new_user_texture
( &mut self, size: (usize, usize), srgba_pixels: &[Color32], filtering: bool,
src/painter.rs:197
↓ 1 callers
Method
paint_mesh
(&self, mesh: &Mesh)
src/painter.rs:503
↓ 1 callers
Function
translate_cursor
(fused: &mut FusedCursor, cursor_icon: egui::CursorIcon)
src/lib.rs:400
↓ 1 callers
Method
update_screen_rect
(&mut self, size: (u32, u32))
src/painter.rs:190
↓ 1 callers
Method
update_user_texture_data
(&mut self, id: egui::TextureId, _pixels: &[Color32])
src/painter.rs:262
↓ 1 callers
Method
upload_egui_texture
(&mut self, id: egui::TextureId, delta: &egui::epaint::ImageDelta)
src/painter.rs:412
↓ 1 callers
Method
upload_user_textures
(&mut self)
src/painter.rs:486
Method
clear
(&mut self)
src/clipboard.rs:35
Method
default
()
src/lib.rs:32
Method
drop
(&mut self)
src/painter.rs:644
Method
drop
(&mut self)
examples/mix/triangle.rs:187
Method
fmt
(&self, _f: &mut core::fmt::Formatter)
src/clipboard.rs:4
Method
get_contents
(&mut self)
src/clipboard.rs:28
Function
get_program_error
(id: u32)
src/painter.rs:75
Method
get_raw_gl_texture_id
(&self, id: &egui::TextureId)
src/painter.rs:174
Function
get_shader_error
(id: u32)
src/painter.rs:71
Method
get_texture
(&self, id: &egui::TextureId)
src/painter.rs:170
Function
main
()
examples/demo_lib.rs:21
Function
main
()
examples/basic.rs:14
Function
main
()
examples/mix/main.rs:19
Method
new
()
src/lib.rs:49
Method
new
()
src/clipboard.rs:23
Method
new
(window: &sdl2::video::Window, scale: f32, shader_ver: ShaderVersion)
src/painter.rs:118
Method
new
()
examples/mix/triangle.rs:121
Method
new_user_texture_rgba8
Creates a new user texture from rgba8
src/painter.rs:229
Method
request_repaint
(&self)
src/lib.rs:40
Method
set_contents
(&mut self, contents: String)
src/clipboard.rs:31
Method
set_raw_gl_texture_id
( &mut self, egui_tex_id: &egui::TextureId, gl_tex_id: GLuint, )
src/painter.rs:178
Method
update_user_texture_rgba8_data
Updates texture rgba8 data
src/painter.rs:278
Method
use_gl_texture2d
( gl_id: &mut Option<GLuint>, pixels: &[u8], width: i32, height: i32,
src/painter.rs:593