#define MESH_VK_H_
#include "mesh.h"
+#include "vkutil.h"
class MeshVK : public Mesh {
private:
- virtual void update_vertex_data() override;
+ vku_buffer *vk_vertices;
+ vku_buffer *vk_normals;
+ vku_buffer *vk_tex_coords;
+ vku_buffer *vk_indices;
+
+ virtual bool update_vertex_data() override;
public:
MeshVK();
MeshVK(const MeshVK &mesh);
MeshVK& operator=(const MeshVK &mesh);
virtual ~MeshVK();
+ virtual void draw() const override;
+ virtual void draw_normals(float scale) const override;
};
-#endif // MESH_VK_H_
\ No newline at end of file
+#endif // MESH_VK_H_