Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
OpenGLMesh.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 #ifdef USING_OPENGL
5 #include "Engine/Mesh/Mesh.hpp"
6 #include <ThirdParty/glew-2.1.0/include/GL/glew.h>
7 
8 namespace Engine
9 {
13  class ENGINE_API OpenGLMesh : public Mesh
14  {
15  friend class ResourceManager;
16 
17  OpenGLMesh() = delete;
18  OpenGLMesh(eastl::vector<Vertex> vertices, eastl::vector<unsigned> indices);
19  OpenGLMesh(OpenGLMesh const &other) = default;
20  //OpenGLMesh(OpenGLMesh &&other) noexcept = default;
21  public:
22  ~OpenGLMesh() noexcept = default;
23  private:
24 
25  void SetUpMesh() override;
26  };
27 } // namespace Engine
28 #endif
#define ENGINE_API
Definition: api.hpp:25