Vulkan Vertex + Index Buffers | Cross Platform Game Engine Development

2 years ago
60

In this lesson, we're going to create our vertex and index Vulkan buffers in order to easily create objects on the GPU for future rendering. By the end of this video, you'll have the ability to upload arbitrary mesh data to the GPU and render it on screen.

We're going to be removing the triangle from our Vulkan renderer, abstract our file system layer a little bit, and by the end have two differently colored triangles.

Github repository: https://github.com/mauville-technologies/youtube-engine/commit/7d1494b9c2bb89cb182e4a175f420add59287b15

Appreciate the content? Show your appreciation here: https://paypal.me/ozzadar

Chapters:
00:00:00 Intro
00:00:50 Adding Vulkan Memory Allocator dependency
00:04:27 Describing the desired interface
00:15:04 Creating Vertex/Index Buffer abstract classes
00:19:51 Creating Vertex data type
00:22:00 Filling Vertex data from shaders
00:24:40 Renderer Implementation for Vulkan
00:26:21 Vertex/Index Buffers Vulkan implementation 01
00:42:15 Creating Vulkan Memory Allocator
00:49:17 Vertex/Index Buffers Vulkan implementation 02
01:15:26 Updating vertex shader source
01:18:41 Silencing VMA clang warnings
01:20:04 Creating Vulkan Vertex Bindings and Attributes
01:33:27 BONUS: updating vk-bootstrap dependency

Loading 2 comments...