shunsukesaito / Vulkan-Samples

Vulkan sample material for CIS 565 at the University of Pennsylvania

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CIS 565 Vulkan Samples

This respository contains Vulkan sample material for CIS 565 at the University of Pennsylvania.

The master branch contains separate folders which contains simple applications which build on each other:

  1. Hello Window
    • Creates a window and sets up the Vulkan instance, logical device, and swapchain
  2. Hello Triangle
    • Creates a graphics pipline and draws a triangle with hard-coded vertex attributes in the shader
  3. Hello Vertex Buffers
    • Creates buffers for vertex attributes, binds them, and draws
  4. Hello Uniform Buffers
    • Adds descriptor pools, descriptor set layouts, and descriptors
    • Creates descriptors for uniform buffer objects
    • Binds descriptors to the graphics pipeline to transform the triangle based on camera position
  5. Hello Compute
    • Adds a compute shader to rotate initial vertex positions based on time
  6. Hello Tessellation
    • Tessellates a single vertex into a quad

Each sample is also included on its own branch. Diffs of the branches can be viewed on Github to see the changes necessary to incrementally go from one sample to the next:

Credits

Content adapted from Vulkan Tutorial

About

Vulkan sample material for CIS 565 at the University of Pennsylvania

License:MIT License


Languages

Language:CMake 100.0%