vOOlkan
An object oriented approach to Vulkan
ModelLoader.h
Go to the documentation of this file.
1#ifndef VULKAN_MODELLOADER
2#define VULKAN_MODELLOADER
3
4#include <vector>
5
6#include "VertexInput.h"
7
8
9namespace Vulkan {
10
11
12 template<PipelineOptions::IsVertex Vertex>
14
15
16
17 template<>
18 class ModelLoader < PipelineOptions::Vertex<glm::vec3, glm::vec3, glm::vec2>> {
19
20 private:
21 using Vertex = PipelineOptions::Vertex<glm::vec3, glm::vec3, glm::vec2>;
22
23 public:
24 static void loadModel(std::string pathToModel, std::vector<Vertex>& vertices, std::vector<uint32_t>& indexes);
25
26 };
27
28}
29
30
31
32#endif
static void loadModel(std::string pathToModel, std::vector< Vertex > &vertices, std::vector< uint32_t > &indexes)
Definition: ModelLoader.h:13
Types of queue families.
Definition: Animations.h:17