{"id":15047926,"url":"https://github.com/ndsol/volcanosamples","last_synced_at":"2025-04-10T01:12:01.735Z","repository":{"id":180770476,"uuid":"87471602","full_name":"ndsol/VolcanoSamples","owner":"ndsol","description":"Volcano sample code to get started with Vulkan. Keep it simple, short and sweet.","archived":false,"fork":false,"pushed_at":"2020-07-25T02:50:52.000Z","size":10314,"stargazers_count":40,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T01:11:51.532Z","etag":null,"topics":["android","cplusplus-11","gplv3","graphics-library","linux","macos","tutorial","vulkan","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ndsol.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}},"created_at":"2017-04-06T20:23:29.000Z","updated_at":"2025-03-20T19:15:02.000Z","dependencies_parsed_at":"2023-07-12T19:49:42.021Z","dependency_job_id":null,"html_url":"https://github.com/ndsol/VolcanoSamples","commit_stats":null,"previous_names":["ndsol/volcanosamples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndsol%2FVolcanoSamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndsol%2FVolcanoSamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndsol%2FVolcanoSamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndsol%2FVolcanoSamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndsol","download_url":"https://codeload.github.com/ndsol/VolcanoSamples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137888,"owners_count":21053775,"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":["android","cplusplus-11","gplv3","graphics-library","linux","macos","tutorial","vulkan","windows"],"created_at":"2024-09-24T21:06:06.425Z","updated_at":"2025-04-10T01:12:01.701Z","avatar_url":"https://github.com/ndsol.png","language":"C++","readme":"# [Volcano](https://github.com/ndsol/volcano) Samples\n\nVolcano Samples are an intermediate Vulkan tutorial. Click on Sample 1 for\nan introduction.\n\n1. [![Screenshot](01glfw/screenshot.png) GLFW Vulkan application](01glfw/README.md)\n1. ~~SDL Vulkan application~~ (Work in Progress)\n1. [![Screenshot](01glfw/screenshot.png) Render To Disk](03rendertodisk/README.md)\n1. [![Screenshot](04android/screenshot.png) Android Vulkan application](04android/README.md)\n1. [![Screenshot](05indexbuffer/screenshot.png) The Index Buffer](05indexbuffer/README.md)\n1. [![Screenshot](06threepipelines/screenshot.png) Pipelines](06threepipelines/README.md)\n1. [![Screenshot](07mipmaps/screenshot.png) Mipmaps](07mipmaps/README.md)\n1. [![Screenshot](08specialization/screenshot.png) Specialization Constants](08specialization/README.md)\n1. [![Screenshot](05indexbuffer/screenshot.png) Full Screen](09fullscreen/README.md)\n1. [![Screenshot](10cubemap/screenshot.png) Cube Map](10cubemap/README.md)\n1. [![Screenshot](13instancing/screenshot.png) Instancing](13instancing/README.md)\n\n# Build Instructions\n\n**VolcanoSamples pulls in [Volcano](https://github.com/ndsol/volcano)**\n**for you.**\n\nTo build samples 1-5, type:\n```\ngit clone https://github.com/ndsol/VolcanoSamples\nVolcanoSamples/build.cmd\n```\n\u003e On Windows, first install [git](https://git-scm.org), python 3 and\n\u003e [Visual C++](01glfw/visual-studio-cli.png). then type:\n\u003e `VolcanoSamples\\build.cmd`\n\n*Note: samples 6+ are built on demand. Each sample's README.md has instructions.*\n\n### Toolkit\n\nLots of great tools offer an alternative view into how your app performs.\nIf you know of another great tool, please suggest it.\n\n* **Vulkan Validation layers:** generally you want the validation layers\n  enabled all the time. To set the environment variables, be sure to launch the\n  app from the same command prompt as the `set` or `export` that enabled\n  validation:\n\n  Windows log is in volcano.log or Visual Studio's debug output:\n\n  ```\n  set VK_LAYER_PATH=%~dp0\\out\\Debug\\vulkan\\explicit_layer.d\n  set VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_standard_validation\n  out/Debug/01glfw\n  ```\n\n  Mac and Linux log to the console:\n\n  ```\n  export VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_standard_validation\n  out/Debug/01glfw\n  ```\n\n* \u003cimg src=\"06threepipelines/renderdoc-setup.jpg\" width=\"380\" height=\"385\" align=\"right\" alt=\"RenderDoc screenshot\" /\u003e\n  \u003ca href=\"https://renderdoc.org/\"\u003e\u003cb\u003eRenderDoc\u003c/b\u003e\u003c/a\u003e\n\n  On linux, be sure to set LD_LIBRARY_PATH first:\n  ```\n  ./build.cmd \u0026\u0026 export LD_LIBRARY_PATH=$PWD/out/Debug\n  ```\n\n* [**AMD Radeon GPU Profiler**](https://gpuopen.com/rgp/)\n\n  If you have an AMD GPU, inspect each part of the GPU's operations.\n\n  \u003cimg src=\"06threepipelines/amd-radeon-gpu-profiler.png\" width=\"450\" height=\"361\" alt=\"AMD Radeon GPU Profiler\" /\u003e\n\n* [**NVIDIA Nsight Graphics**](https://developer.nvidia.com/nsight-graphics)\n\n  If you have an NVIDIA GPU, you may be able to inspect each part of the GPU's\n  operations.\n\n  On linux, a C++ frame capture may fail to build with this error:\n  `xcb/xcb_icccm.h: no such file or directory`.\n  **Resolution:** you need to \"apt install libxcb-icccm4-dev\".\n\nCopyright (c) 2017-2018 the Volcano Authors. All rights reserved.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndsol%2Fvolcanosamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndsol%2Fvolcanosamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndsol%2Fvolcanosamples/lists"}