aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/je_texture.h
blob: dff3f40ed0e82acc1ca2e00a9cf427ca923f7d45 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef __JE_TEXTURE_H
#define __JE_TEXTURE_H
#include "../core/je_configuration.h"
#if defined(jin_graphics)

#include "GLee/GLee.h"

#include "je_color.h"
#include "je_graphic_single.h"
#include "je_bitmap.h"

namespace JinEngine 
{ 
	namespace Graphics
	{

        /// 
        /// 
        /// 
		class Texture: public GraphicSingle
		{
		public:
            /// 
            /// 
            /// 
			static Texture* createTexture(const char* path);

            /// 
            /// 
            /// 
            static Texture* createTexture(Bitmap* bitmap);

            ///
            ///
            ///
            static Texture* createTexture();

            /// 
            /// 
            /// 
			~Texture();

		private:
            /// 
            /// 
            /// 
			Texture(const Bitmap* bitmap);

		};

	} // namespace Graphics
} // namespace JinEngine

#endif // jin_graphics

#endif // __JE_TEXTURE_H