Skip to content

r2d2Proton/VulkanSamples

 
 

Repository files navigation

Vulkan Samples

This repository is a C# Vulkan sample library, which includes GLTF model loading, ImGui drawing, ray tracing, WPF integration, Android integration, etc.

Features

  • Factory pattern to create Vulkan resources.
  • Abstract Vulkan objects to simplify Vulkan API calls.
  • Support DXC to compile HLSL code.
  • Acceleration structure support.
  • Compute and ray tracing pipelines.
  • Resource sharing between DX11 and Vulkan.

Compile and Precautions

  • Ensure that Vulkan 1.3 SDK is installed and the graphics card driver supports Vulkan 1.3.
  • Ensure that Visual Studio 2022 and .NET 9.0 are installed.
  • For the Android project, you need to install Android NDK and Android SDK. The virtual machine does not support Vulkan 1.3, you need a real machine with Snapdragon 8 Gen2 or higher chip.

Samples

AndroidApp
image image image image
ComputeShader
image
GLTFAnimation
image
GLTFScene
image
MultiViewports
image
RayQuery
image
RayTracing
image
SDFFontTexture
image
Skia
image
WPF
image

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 92.2%
  • HLSL 7.7%
  • Batchfile 0.1%