Lagrangian Liquid Simulation
Master Thesis project on simulation of liquids using Lagrangian approach and SPH
include/ShaderObject.h
Go to the documentation of this file.
00001 #ifndef SHADEROBJECT_H
00002 #define SHADEROBJECT_H
00003 
00004 #include "string"
00005 #include "vector"
00006 #include "iostream"
00007 
00017 
00018 class ShaderObject
00019 {
00020 public:
00028     ShaderObject
00029             (
00030                 const std::string _shaderName,
00031                 const std::string _vertexFile,
00032                 const std::string _fragementFile,
00033                 const std::vector<std::string> _attributes,
00034                 const std::vector<int> _attributeValues,
00035                 const bool _isSpecial
00036             );
00037 
00039     inline std::string getShaderName() const { return m_shaderName; }
00040 
00042     inline std::string getVertexFile() const { return m_vertexFile; }
00043 
00045     inline std::string getFragementFile() const { return m_fragementFile; }
00046 
00048     inline std::vector<std::string> getAttributes() const { return m_attributes; }
00049 
00051     inline std::vector<int> getAttributeValues() const { return m_attributeValues; }
00052 
00054     inline bool getIsSpecial() const { return m_isSpecial; }
00055 
00056 private:
00058     std::string m_shaderName;
00059 
00061     std::string m_vertexFile;
00062 
00064     std::string m_fragementFile;
00065 
00067     std::vector<std::string> m_attributes;
00068 
00070     std::vector<int> m_attributeValues;
00071 
00073     bool m_isSpecial;
00074 
00075 };
00076 
00077 #endif // SHADEROBJECT_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator