26 lines
396 B
C++
26 lines
396 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
struct Texture
|
|
{
|
|
std::string pathToTexture;
|
|
uint32_t textureType;
|
|
uint32_t m_textureId;
|
|
};
|
|
|
|
struct Mesh
|
|
{
|
|
std::vector<Vertex> vertices;
|
|
std::vector<uint32_t> indices;
|
|
std::vector<uint32_t> textureIds;
|
|
};
|
|
|
|
struct Model
|
|
{
|
|
std::vector<Texture> textures;
|
|
std::vector<Mesh> m_meshes;
|
|
std::string m_workingPath;
|
|
};
|