Working fastgltf build, but had to manually include the headers.

This commit is contained in:
Zed A. Shaw 2025-12-15 11:04:17 -05:00
parent 6d29fb718b
commit 0e6d452580
8 changed files with 63 additions and 3 deletions

22
vk_loader.h Normal file
View file

@ -0,0 +1,22 @@
#pragma once
#include <vk_types.h>
#include <unordered_map>
#include <filesystem>
struct GeoSurface {
uint32_t startIndex;
uint32_t count;
};
struct MeshAsset {
std::string name;
std::vector<GeoSurface> surfaces;
GPUMeshBuffers meshBuffers;
};
class VulkanEngine;
std::optional<std::vector<std::shared_ptr<MeshAsset>>> loadGltfMeshes(VulkanEngine* engine, std::filesystem::path filePath);