From 0e5a826935cd1e5ef1e3061d029e2aafea038f47 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 26 Sep 2017 14:18:22 +0100 Subject: Adding --- texture_8h_source.html | 93 +++++++++++--------------------------------------- 1 file changed, 20 insertions(+), 73 deletions(-) (limited to 'texture_8h_source.html') diff --git a/texture_8h_source.html b/texture_8h_source.html index c3628b61..4efb53b3 100644 --- a/texture_8h_source.html +++ b/texture_8h_source.html @@ -3,23 +3,22 @@ - + + YAGE: yage/base/texture.h Source File + + - @@ -28,7 +27,7 @@ -
+
YAGE  v0.1.1
@@ -39,40 +38,19 @@
- + - - + + + +
+
@@ -107,43 +85,12 @@ $(document).ready(function(){initNavTree('texture_8h_source.html','');});
texture.h
-Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
-
2  * texture.h
-
3  *
-
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
-
5  * See file LICENSE for more details
-
6  * ----------------------------------------------------------------------------
-
7  */
-
8 
-
9 #ifndef GL_TEXTURE_H
-
10 #define GL_TEXTURE_H
-
11 
-
12 #include <glad/glad.h>
-
13 
-
14 namespace yage
-
15 {
-
16 
-
17 struct Texture {
-
18  GLuint id;
-
19  int width;
-
20  int height;
-
21 
-
22  Texture() = default;
-
23 
-
24  Texture(GLuint id_i, int width_i, int height_i)
-
25  : id(id_i), width(width_i), height(height_i)
-
26  {
-
27  }
-
28 };
-
29 
-
30 } // namespace yage
-
31 
-
32 #endif
-
int height
Definition: texture.h:20
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * texture.h
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef GL_TEXTURE_H
10 #define GL_TEXTURE_H
11 
12 #include <glad/glad.h>
13 
14 namespace yage
15 {
16 
17 struct Texture {
18  GLuint id;
19  int width;
20  int height;
21 
22  Texture() = default;
23 
24  Texture(GLuint id_i, int width_i, int height_i)
25  : id(id_i), width(width_i), height(height_i)
26  {
27  }
28 };
29 
30 } // namespace yage
31 
32 #endif
int height
Definition: texture.h:20
Texture()=default
Definition: texture.h:17
Texture(GLuint id_i, int width_i, int height_i)
Definition: texture.h:24
int width
Definition: texture.h:19
+
Project namespace.
Definition: camera2d.cpp:13
GLuint id
Definition: texture.h:18
@@ -151,9 +98,9 @@ $(document).ready(function(){initNavTree('texture_8h_source.html','');}); -- cgit