Cargo Features
[dependencies]
egui_sdl2_gl = { version = "0.28.0", default-features = false, features = ["sdl2_unsafe_textures", "sdl2_gfx", "sdl2_mixer", "sdl2_image", "sdl2_ttf", "sdl2_use-bindgen", "sdl2_use-pkgconfig", "sdl2_use-vcpkg", "sdl2_use-mac_framework", "sdl2_bundled", "sdl2_static-link", "use_epi"] }
- default = sdl2_bundled
-
The
sdl2_bundled
feature is set by default wheneveregui_sdl2_gl
is added without
somewhere in the dependency tree.default-features = false - sdl2_unsafe_textures
-
Enables unsafe_textures of sdl2
- sdl2_gfx
- sdl2_mixer
- sdl2_image
- sdl2_ttf
- sdl2_use-bindgen
-
SDL2 build features
Enables use-bindgen of sdl2
- sdl2_use-pkgconfig
-
Enables use-pkgconfig of sdl2
- sdl2_use-vcpkg
- sdl2_use-mac_framework
-
Enables use_mac_framework of sdl2
- sdl2_bundled default
- sdl2_static-link
-
Enables static-link of sdl2
- use_epi = epi
-
Affects
egui_sdl2_gl::get_frame_time
,egui_sdl2_gl::Signal
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.