59 #ifndef ACG_SHADER_NODE_HH
60 #define ACG_SHADER_NODE_HH
65 #include "BaseNode.hh"
68 #include "../ShaderUtils/GLSLShader.hh"
69 #include <ACG/Scenegraph/DrawModes.hh>
74 namespace SceneGraph {
93 const std::string& _name =
"<ShaderNode>" );
113 void setShaderDir( std::string _shaderDir);
115 std::string shaderDir() {
return shaderDir_; };
135 std::string _vertexShader,
136 std::string _fragmentShader,
137 std::string _pickVertexShader =
"",
138 std::string _pickFragmentShader =
"");
151 std::string shaderDir_;
158 vertexShaderFile(
""),
160 fragmentShaderFile(
""),
167 std::string vertexShaderFile;
170 std::string fragmentShaderFile;
177 std::map< size_t, ShaderInfo> shaders;
178 std::map< size_t, ShaderInfo> pickShaders;
186 #endif // ACG_SHADER_NODE_HH defined
ACG::SceneGraph::ShaderNode ShaderNode
Simple Name for ShaderNode.
Namespace providing different geometric functions concerning angles.
PickTarget
What target to use for picking.