22 #include <boost/noncopyable.hpp>
25 #define SHADER_EFFECT_NONE 0
26 #define SHADER_EFFECT_FLIP 1
27 #define SHADER_EFFECT_FLOP 2
28 #define SHADER_EFFECT_GRAYSCALE 4
41 shader_program(
const shader_program &prog);
42 const shader_program& operator =(
const shader_program &prog);
47 void set_color_mod(
int r,
int g,
int b,
int a);
48 void set_submerge(
float val);
49 void set_effects(
int effects);
50 void set_overlay(
const sdl::timage &
img);
53 Uint32 program_object_, vertex_object_, fragment_object_;
55 int attr_color_mod_, attr_submerge_, attr_effects_;
59 sdl::timage overlay_image_;
GLuint const GLfloat * val
GLdouble GLdouble GLdouble b
GLboolean GLboolean GLboolean GLboolean a
GLdouble GLdouble GLdouble r
Base class for all the errors encountered by the engine.
GLsizei const GLcharARB ** string