{"id":22389459,"url":"https://github.com/adrien-ben/vulkan-examples-rs","last_synced_at":"2025-07-31T07:32:29.730Z","repository":{"id":56789056,"uuid":"524609706","full_name":"adrien-ben/vulkan-examples-rs","owner":"adrien-ben","description":"Vulkan examples written in Rust","archived":false,"fork":false,"pushed_at":"2025-02-07T12:17:20.000Z","size":7742,"stargazers_count":26,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T22:38:05.056Z","etag":null,"topics":["ash","raytracing","rust","vulkan"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adrien-ben.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-14T08:06:08.000Z","updated_at":"2025-02-07T12:17:24.000Z","dependencies_parsed_at":"2024-02-21T09:36:21.585Z","dependency_job_id":"fbd4f2cf-a8f9-4f8c-8fdf-46704b916e15","html_url":"https://github.com/adrien-ben/vulkan-examples-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adrien-ben/vulkan-examples-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrien-ben%2Fvulkan-examples-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrien-ben%2Fvulkan-examples-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrien-ben%2Fvulkan-examples-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrien-ben%2Fvulkan-examples-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrien-ben","download_url":"https://codeload.github.com/adrien-ben/vulkan-examples-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrien-ben%2Fvulkan-examples-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268004213,"owners_count":24179378,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","raytracing","rust","vulkan"],"created_at":"2024-12-05T03:12:00.154Z","updated_at":"2025-07-31T07:32:28.207Z","avatar_url":"https://github.com/adrien-ben.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vulkan-examples-rs\n\nCollection of Vulkan examples that I make to learn stuff in Rust using [ash][ash].\n\n![screenshot](media/screenshot.png \"Screenshot\")\n\n## Examples\n\nYou can run one of the following example.\n\n- rt_triangle: Ray-traced triangle.\n- rt_shadows: Ray-traced gltf model with simulated sunlight shadow. It has one BLAS with multiple geometries. Light and camera controls with imgui.\n- rt_reflections: Ray-traced iterative (not recursive) reflections.\n- triangle: Rasterized triangle.\n- gpu_particles: Particles simulated on the gpu using a compute shader.\n- mandelbrot: Render mandelbrot set on gpu with expensive setting. The goal is to be gpu bound with a simple setup for some tests.\n- [hdr_skybox](crates/examples/hdr_skybox/): Display a skybox from a environment HDRi image targetting an HDR surface.\n- [wboit](crates/examples/wboit/): Weighted, Blended Order-Independent Transparency.\n\n```ps1\n# Powershell example (all scripts have a .sh version)\n\n# Compile all glsl shaders to spir-v 1.4\n.\\scripts\\compile_shaders.ps1\n\n# Enable validation layers and set log level to debug\n.\\scripts\\debug.ps1 \u003cexample\u003e\n\n# Compiles with --release and set log level to info\n.\\scripts\\run.ps1 \u003cexample\u003e\n```\n\n## Controls\n\nFor examples with interactive camera you can move the camera with \n- WASD to move\n- Ctrl and space to go up or down\n- Right-click and move the mouse around to look\n\nYou can alse press R to cycle through the performance information.\n\n## Requirements\n\n- Rust 1.77\n\nAll examples use Vulkan 1.3 and the following features:\n\n- dynamic_rendering\n- synchronization2\n\nRay tracing examples use the following extensions and features:\n\n- VK_KHR_ray_tracing_pipeline\n    - ray_tracing_pipeline\n- VK_KHR_acceleration_structure\n    - acceleration_structure\n- VK_KHR_deferred_host_operations\n- Vulkan 1.2's features\n    - runtime_descriptor_array\n    - buffer_device_address\n\n\u003e RT is only enabled on examples using it, so other examples can run on hardware that does not support it.\n\n## Useful links\n\n- [NVidia tutorial](https://nvpro-samples.github.io/vk_raytracing_tutorial_KHR/)\n- [SaschaWillems' Vulkan](https://github.com/SaschaWillems/Vulkan)\n\n[ash]: https://github.com/MaikKlein/ash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrien-ben%2Fvulkan-examples-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrien-ben%2Fvulkan-examples-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrien-ben%2Fvulkan-examples-rs/lists"}