VK
Size: a a a
VK
FM
VK
d
FM
FM
L
L
class IMesh {
public:
struct vertex {
math::vec4 pos;
math::vec3 norm;
math::vec3 tang;
math::vec2 uv;
std::uint32_t matID;
};
struct buffer_info {
std::uint32_t verticesCount;
std::uint32_t trianglesCount;
} getBufferElementsCount() = 0;
void fillBuffers(vertex* vertexBuffer, std::uint32_t* triangleBuffer) = 0;
Material* matFromID(std::uint32_t id) = 0;
protected:
~IMesh() = default;
};
VK
L
VK
FM
VK
d
FM
d
FM
FM
L
VK