{"id":18145017,"url":"https://github.com/matchachoco010/egui_winit_ash_vk_mem","last_synced_at":"2025-04-23T10:22:14.273Z","repository":{"id":49209968,"uuid":"337429585","full_name":"MatchaChoco010/egui_winit_ash_vk_mem","owner":"MatchaChoco010","description":"This is the egui integration crate for winit, ash and vk_mem.","archived":false,"fork":false,"pushed_at":"2021-09-09T22:55:30.000Z","size":455,"stargazers_count":13,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T10:22:02.699Z","etag":null,"topics":["ash","egui","gamedev","rust","vk-mem","vulkan","winit"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MatchaChoco010.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-09T14:23:31.000Z","updated_at":"2024-04-10T09:39:59.000Z","dependencies_parsed_at":"2022-09-08T16:41:40.930Z","dependency_job_id":null,"html_url":"https://github.com/MatchaChoco010/egui_winit_ash_vk_mem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fegui_winit_ash_vk_mem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fegui_winit_ash_vk_mem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fegui_winit_ash_vk_mem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fegui_winit_ash_vk_mem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatchaChoco010","download_url":"https://codeload.github.com/MatchaChoco010/egui_winit_ash_vk_mem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250413260,"owners_count":21426346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ash","egui","gamedev","rust","vk-mem","vulkan","winit"],"created_at":"2024-11-01T20:07:07.765Z","updated_at":"2025-04-23T10:22:14.224Z","avatar_url":"https://github.com/MatchaChoco010.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# egui_winit_ash_vk_mem\n\n[_DEPRECATED_]\nThis crate has not been maintained.\nPlease use [egui-winit-ash-integration](https://github.com/MatchaChoco010/egui-winit-ash-integration).\n\n[![Latest version](https://img.shields.io/crates/v/egui_winit_ash_vk_mem.svg)](https://crates.io/crates/egui_winit_ash_vk_mem)\n[![Documentation](https://docs.rs/egui_winit_ash_vk_mem/badge.svg)](https://docs.rs/egui_winit_ash_vk_mem)\n![MIT](https://img.shields.io/badge/license-MIT-blue.svg)\n![Apache](https://img.shields.io/badge/license-Apache-blue.svg)\n[![egui version: 0.13.0](https://img.shields.io/badge/egui%20version-0.13.0-orange)](https://docs.rs/egui/0.10.0/egui/index.html)\n\nThis is the [egui](https://github.com/emilk/egui) integration crate for\n[winit](https://github.com/rust-windowing/winit), [ash](https://github.com/MaikKlein/ash)\nand [vk_mem](https://github.com/gwihlidal/vk-mem-rs).\n\n# Example\n\n```sh\ncargo run --example example\n```\n\n```sh\ncargo run --example user_texture\n```\n\n# Usage\n\n```rust\nfn main() -\u003e Result\u003c()\u003e {\n    let event_loop = EventLoop::new();\n    // (1) Call Integration::new() in App::new().\n    let mut app = App::new(\u0026event_loop)?;\n\n    event_loop.run(move |event, _, control_flow| {\n        *control_flow = ControlFlow::Poll;\n        // (2) Call integration.handle_event(\u0026event).\n        app.egui_integration.handle_event(\u0026event);\n        match event {\n            Event::WindowEvent {\n                event: WindowEvent::CloseRequested,\n                ..\n            } =\u003e *control_flow = ControlFlow::Exit,\n            Event::WindowEvent {\n                event: WindowEvent::Resized(_),\n                ..\n            } =\u003e {\n                // (3) Call integration.recreate_swapchain(...) in app.recreate_swapchain().\n                app.recreate_swapchain().unwrap();\n            }\n            Event::MainEventsCleared =\u003e app.window.request_redraw(),\n            Event::RedrawRequested(_window_id) =\u003e {\n                // (4) Call integration.begin_frame(), integration.end_frame(\u0026mut window),\n                // integration.context().tessellate(shapes), integration.paint(...)\n                // in app.draw().\n                app.draw().unwrap();\n            }\n            _ =\u003e (),\n        }\n    })\n}\n// (5) Call integration.destroy() when drop app.\n```\n\n[Full example is in examples directory](https://github.com/MatchaChoco010/egui_winit_ash_vk_mem/tree/main/examples/example)\n\n# License\n\nMIT OR Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatchachoco010%2Fegui_winit_ash_vk_mem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatchachoco010%2Fegui_winit_ash_vk_mem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatchachoco010%2Fegui_winit_ash_vk_mem/lists"}