AnimEngine
GLSL.hpp
1 #pragma once
2 #ifndef KJY_OBJECT_ORIENTED_OPENGL_GLSL_HPP_
3 #define KJY_OBJECT_ORIENTED_OPENGL_GLSL_HPP_
4 #include "OOOGL_Core.hpp"
5 #include <string>
6 #include <vector>
7 
8 /* This will almost certainly expand in the future, and probably branch into many files. This is mostly a placeholder*/
9 
10 namespace OOOGL{
11 
13  virtual const std::string& dumpString() const = 0;
14 };
15 
17 typedef GLSLBlockLayoutInterface const* GLSLBlockLayoutConstPtr;
18 
20  virtual const std::string& dumpString() const override{throw NeedsImplementingException(__FILE__, __LINE__, "GLSLInterfaceLayout");}
21 };
22 
24  virtual const std::string& dumpString() const override{throw NeedsImplementingException(__FILE__, __LINE__, "GLSLStructLayout");}
25 };
26 
29  TemporaryHardCodedLayout(const std::string& layout_string) : layout_string(layout_string) {}
30  virtual const std::string& dumpString() const override{return(layout_string);}
31  std::string layout_string;
32 };
33 
34 }
35 
36 
37 #endif
Definition: GLSL.hpp:27
Definition: GLSL.hpp:12
Definition: GLSL.hpp:19
Definition: OOOGL_Core.hpp:151
Definition: Core_Utilities.cpp:3
Definition: GLSL.hpp:23