# khronosgroup/vulkan-samples

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/khronosgroup-vulkan-samples).**

5,295 stars · 823 forks · C++ · Apache-2.0

## Links

- GitHub: https://github.com/KhronosGroup/Vulkan-Samples
- awesome-repositories: https://awesome-repositories.com/repository/khronosgroup-vulkan-samples.md

## Topics

`best-practices` `cpp` `graphics` `graphics-programming` `khronos` `tutorials` `vulkan` `vulkan-api` `vulkan-samples`

## Description

This project is a collection of reference implementations and benchmarks demonstrating the use of the Vulkan graphics and compute API. It provides a set of cross-platform examples and GPU programming patterns designed for high-performance rendering and hardware-accelerated tasks.

The repository includes a suite of performance benchmarks used to measure API behavior across different hardware environments. It features a modular architecture that organizes rendering examples into isolated units, along with command-line utilities for the batch execution of sample sequences.

The project covers several technical areas, including direct GPU memory management, real-time performance profiling to identify rendering bottlenecks, and headless computing pipelines that capture framebuffers without a physical display.

## Tags

### Education & Learning Resources

- [API Reference Implementations](https://awesome-repositories.com/f/education-learning-resources/api-reference-implementations.md) — Provides a collection of reference implementations for learning how to execute graphics and compute tasks using Vulkan.

### Graphics & Multimedia

- [Cross-Platform Graphics Frameworks](https://awesome-repositories.com/f/graphics-multimedia/cross-platform-graphics-frameworks.md) — Implements standardized rendering patterns that function across different operating systems and GPU drivers.
- [GPU Hardware Acceleration](https://awesome-repositories.com/f/graphics-multimedia/gpu-hardware-acceleration.md) — Demonstrates how to execute graphics and compute tasks directly on the GPU via the Vulkan API. ([source](https://github.com/khronosgroup/vulkan-samples#readme))
- [Graphics API Samples](https://awesome-repositories.com/f/graphics-multimedia/graphics-api-samples.md) — Serves as a comprehensive set of reference samples demonstrating the Vulkan graphics and compute API.
- [Graphics Rendering APIs](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/graphics-apis-bindings/graphics-rendering-apis.md) — Provides reference implementations of the Vulkan API for high-performance graphics rendering. ([source](https://github.com/khronosgroup/vulkan-samples#readme))
- [Headless Rendering Modes](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/systems/3d-graphics-pipelines/texture-mapping-pipelines/render-to-texture-buffers/headless-rendering-modes.md) — Implements a rendering pipeline that captures framebuffers to image files without a physical display.

### Operating Systems & Systems Programming

- [Hardware Driver Interfaces](https://awesome-repositories.com/f/operating-systems-systems-programming/hardware-driver-interfaces.md) — Directs graphics and compute commands to GPU hardware using standardized driver interfaces for maximum performance.
- [GPU Memory Allocators](https://awesome-repositories.com/f/operating-systems-systems-programming/kernel-core-internals/process-and-memory-management/memory-management/allocation-strategies/dynamic-memory-allocation/gpu-memory-allocators.md) — Provides examples of explicit GPU memory allocation and mapping to control CPU-to-GPU data transfer.

### Programming Languages & Runtimes

- [GPU Kernel Programming](https://awesome-repositories.com/f/programming-languages-runtimes/gpu-kernel-programming.md) — Offers practical code demonstrations for writing GPU kernels and compute tasks via low-level interfaces.

### Software Engineering & Architecture

- [High-Performance Rendering](https://awesome-repositories.com/f/software-engineering-architecture/high-performance-rendering.md) — Implements patterns for high-frame-rate rendering with low overhead by interfacing directly with GPU hardware.

### Testing & Quality Assurance

- [Hardware Performance Benchmarking](https://awesome-repositories.com/f/testing-quality-assurance/hardware-performance-benchmarking.md) — Provides standardized benchmarks to measure and compare graphics API performance across different hardware.

### Hardware & IoT

- [Headless GPU Compute Engines](https://awesome-repositories.com/f/hardware-iot/integration-performance/gpu-performance/gpu-computations/headless-gpu-compute-engines.md) — Executes compute tasks and captures output in environments without a physical display.

### System Administration & Monitoring

- [GPU Profilers](https://awesome-repositories.com/f/system-administration-monitoring/gpu-profilers.md) — Analyzes real-time data flow and rendering patterns to optimize Vulkan API usage and performance.
- [Graphics API Workload Profilers](https://awesome-repositories.com/f/system-administration-monitoring/graphics-hardware-monitors/graphics-call-profilers/graphics-api-workload-profilers.md) — Includes tools to analyze data flow through the graphics pipeline to identify rendering bottlenecks.
- [Performance Profiling Tools](https://awesome-repositories.com/f/system-administration-monitoring/performance-profiling-tools.md) — Includes tools for profiling real-time data flow to identify and resolve rendering bottlenecks. ([source](https://github.com/khronosgroup/vulkan-samples#readme))

### Part of an Awesome List

- [Sample Applications](https://awesome-repositories.com/f/awesome-lists/devtools/sample-applications.md) — Official collection of Vulkan API usage samples.
