summaryrefslogtreecommitdiff
path: root/source/libs/asura-lib-core/graphics/gl.h
blob: bfc60ea734740e3220abeaffe9b1d759d6df610e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef __ASURA_ENGINE_OPENGL_H__
#define __ASURA_ENGINE_OPENGL_H__

#include "glad/glad.h"

namespace AsuraEngine
{
	namespace Graphics
	{

		class Profiler;

		///
		/// һЩopengl״̬׷١
		///
		class OpenGL
		{
		public:
			OpenGL();
			~OpenGL();

		private:

			friend class Profiler;

			///
			/// opengl
			/// 
			static bool instantiated;

		};

		///
		/// OpenGL
		///
		extern OpenGL gl;

	}
}

#endif