53 #ifndef ACG_SHADER_NODE_HH 54 #define ACG_SHADER_NODE_HH 59 #include "BaseNode.hh" 62 #include "../ShaderUtils/GLSLShader.hh" 63 #include <ACG/Scenegraph/DrawModes.hh> 87 const std::string& _name =
"<ShaderNode>" );
107 void setShaderDir( std::string _shaderDir);
109 std::string shaderDir() {
return shaderDir_; };
129 const std::string& _vertexShader,
130 const std::string& _fragmentShader,
131 std::string _pickVertexShader =
"",
132 std::string _pickFragmentShader =
"");
145 std::string shaderDir_;
152 vertexShaderFile(
""),
154 fragmentShaderFile(
""),
161 std::string vertexShaderFile;
164 std::string fragmentShaderFile;
171 std::map< size_t, ShaderInfo> shaders;
172 std::map< size_t, ShaderInfo> pickShaders;
180 #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.