Skip to content

KDGpu Examples

These examples are organized by complexity, from basic triangle rendering to advanced techniques like ray tracing and order-independent transparency. Most examples use the KDGpuExample Helper API to reduce boilerplate and focus on the specific technique being demonstrated.

Examples assume you understand basic 3D graphics concepts (vertices, shaders, coordinate systems, matrix math, texture sampling, depth testing) but not necessarily Vulkan-specific APIs.

Beginner Examples

These examples introduce fundamental rendering concepts and the KDGpu API. Start here if you're new to KDGpu or Vulkan.

Intermediate Examples

These examples demonstrate multi-pass rendering, anti-aliasing, compute shaders, and descriptor management.

Multi-Sample Anti-Aliasing (MSAA)

Multi-Pass Rendering

Uniform Buffers and Compute

Descriptor Management

Multi-View Rendering

Advanced Examples

These examples showcase modern rendering techniques including mesh shaders, ray tracing, order-independent transparency, and XR.

Modern Pipeline Features

Ray Tracing

Advanced Rendering Techniques

XR (Extended Reality)

About the Helper API

See KDGpuExample Helper API for details about the KDGpuExample helper API used by most examples, and when to use the native API instead.


Updated on 2026-03-31 at 00:02:07 +0000