Total mess. The instructions significantly fall apart at this point and I'll have to go reverse engineer the working version from the course's git repo.

This commit is contained in:
Zed A. Shaw 2026-02-06 11:55:32 -05:00
parent 7ae6a63295
commit b3cdf37045
8 changed files with 185 additions and 196 deletions

View file

@ -67,10 +67,10 @@ public:
std::vector<VkImageView> _swapchainImageViews;
VkExtent2D _swapchainExtent;
// VMA stuff
VmaAllocator _allocator;
// frames/command buffer
unsigned int _frameNumber = 0;
FrameData _frames[FRAME_OVERLAP];
@ -84,6 +84,7 @@ public:
// draw resources
AllocatedImage _drawImage;
AllocatedImage _depthImage;
VkExtent2D _drawExtent;
// internal data
@ -100,7 +101,6 @@ public:
VkPipelineLayout _meshPipelineLayout;
VkPipeline _meshPipeline;
GPUMeshBuffers rectangle;
std::vector<std::shared_ptr<MeshAsset>> testMeshes;
// ZED's REFACTOR
@ -136,7 +136,6 @@ private:
void init_pipelines();
void init_background_pipelines();
void init_shaders();
void init_triangle_pipelines();
void init_mesh_pipeline();
void init_default_data();