Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Engine
Mesh
OpenGLMesh.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Engine/Utility/Defines.hpp
"
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
ENGINE_API
#define ENGINE_API
Definition:
api.hpp:25
Engine
Definition:
Skeleton.cpp:15
Defines.hpp
Mesh.hpp
Generated by
1.8.11