https://github.com/morfly/vulkan-bazel-samples
A sample repo for setting up an environment for applications that use Vulkan graphics API built with Bazel
https://github.com/morfly/vulkan-bazel-samples
Last synced: 4 months ago
JSON representation
A sample repo for setting up an environment for applications that use Vulkan graphics API built with Bazel
- Host: GitHub
- URL: https://github.com/morfly/vulkan-bazel-samples
- Owner: Morfly
- License: mit
- Created: 2021-11-29T02:30:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-03T06:58:44.000Z (about 3 years ago)
- Last Synced: 2025-02-01T05:31:45.003Z (4 months ago)
- Language: C++
- Homepage:
- Size: 577 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vulkan Bazel Samples
This is a sample repository that shows the basics of environment setup for applications that use Vulkan graphics API and built with Bazel build system.
## Vulkan SDK
It is required to have a Vulkan SDK installed on the machine. Instructions could be found [here](https://vulkan-tutorial.com/Development_environment#page_Vulkan-SDK-2) (only *Vulkan SDK* paragraph for each platform is required).## Projects
### Environment setup
A simple project that demonstrates a bare minumum for configuring Vulkan projects with Bazel.In order to run this project use the command below.
```shell
$ bazel run //env_setup
```It should launch an empty window named `Vulkan window`.
### Drawing a triangle
A project that draws a triangle using Vulkan.
In order to run this project use the command below.```shell
$ bazel run //triangle
```