Subversion Repositories gelsvn

Rev

Rev 369 | Rev 447 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 369 Rev 373
Line 63... Line 63...
63
	
63
	
64
	Andreas B¾rentzen, 2007
64
	Andreas B¾rentzen, 2007
65
	
65
	
66
	*/
66
	*/
67
 
67
 
-
 
68
namespace GLGraphics
-
 
69
{
68
	/// Print the info log for a program if the status is not OK.
70
	/// Print the info log for a program if the status is not OK.
69
	void print_glsl_program_log(GLuint obj);
71
	void print_glsl_program_log(GLuint obj);
70
	
72
	
71
	/** The two arguments are concatenated to form the name with full path of a text file.
73
	/** The two arguments are concatenated to form the name with full path of a text file.
72
		This file is read and returned as a string. */
74
		This file is read and returned as a string. */
Line 80... Line 82...
80
	/** Create a shader of type specified as first argument from the file indicated by the 
82
	/** Create a shader of type specified as first argument from the file indicated by the 
81
		supplied path and file name (second and third arguments) and return a shader handle. 
83
		supplied path and file name (second and third arguments) and return a shader handle. 
82
		This function is only a convenience function wrapping read_glsl_source and 
84
		This function is only a convenience function wrapping read_glsl_source and 
83
		create_glsl_shader */
85
		create_glsl_shader */
84
	GLuint create_glsl_shader(GLuint stype, const std::string& path, const std::string& file);
86
	GLuint create_glsl_shader(GLuint stype, const std::string& path, const std::string& file);
-
 
87
}
85
 
88
 
86
#endif
89
#endif