Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_GL / INC / ShaderCodes.h
diff --git a/WCudaMSE/API_Bilat_GL/INC/ShaderCodes.h b/WCudaMSE/API_Bilat_GL/INC/ShaderCodes.h
new file mode 100755 (executable)
index 0000000..3a0371c
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef SHADER_CODES_H\r
+#define SHADER_CODES_H\r
+\r
+#include "envBilatGL.h"\r
+#include "bilat_GL.h"\r
+\r
+#include <vector>\r
+#include <string>\r
+\r
+using std::string;\r
+using std::vector;\r
+\r
+class CBI_GL ShaderCodes\r
+    {\r
+    public:\r
+       ShaderCodes(vector<string> tabCodeSource, unsigned int ligneCount);\r
+       virtual ~ShaderCodes();\r
+\r
+       void afficherCode(const GLchar** code, unsigned int ligneCount); //Debug\r
+\r
+       unsigned int getLigneCount() const;\r
+\r
+       const GLchar** getSourceCode() const;\r
+\r
+    private:\r
+       unsigned int ligneCount;\r
+       vector<string> tabCodeSource;\r
+    };\r
+\r
+#endif\r