Are there any good c examples?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/vulkan

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Zigi - Delete the most useless function ever: context switching.
  • Scout APM - Truly a developer’s best friend
  • stb

    stb single-file public domain libraries for C/C++

    You can try using stb libraries in C (https://github.com/nothings/stb) for a dynamic array (equivalent to std::vector) and a hash map implementation (akin to std::unordered_map, although it's not ordered like std::map) in stb_ds.h. I'm suggesting this because many tutorials already use stb for utilities for image loading so chances are you already have it at your fingertips and it's nice to use.

  • vulkan_ray_tracing_minimal_abstraction

    A minimal implementation of Vulkan ray tracing.

    This raytracing sample is all in C.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • vkbasicapp

    A shameless plug: here's a link to my repo https://github.com/jammymalina/vkbasicapp that could get you started. It's a WIP and far from done. The code is relatively structured, I got the inspiration from vk-bootstrap and I am Graphics And So Can You blogpost.

  • vk-bootstrap

    Vulkan Bootstrapping Iibrary

    A shameless plug: here's a link to my repo https://github.com/jammymalina/vkbasicapp that could get you started. It's a WIP and far from done. The code is relatively structured, I got the inspiration from vk-bootstrap and I am Graphics And So Can You blogpost.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts