class Renderable;
class Sampler;
class Texture;
-class Texturing;
class VertexSetup;
class WindingTest;
enum ChangeMask
{
MATRIX = 2,
- SHADER_DATA = 16,
- STANDARD_SHDATA = 64,
- CAMERA_SHDATA = 128,
- CLIPPING_SHDATA = 512
+ SHADER_DATA = 16
};
- const Camera *default_camera;
unsigned char changed;
std::vector<State> state_stack;
State *state;
public:
Renderer();
- DEPRECATED Renderer(const Camera *);
-private:
- void init();
-public:
~Renderer();
/** Sets the camera to render from. The model matrix is reset to identity. */
void set_texture(Tag, const Texture *, const Sampler * = 0);
private:
- void set_texture(Tag, int, const Texture *, const Sampler *);
void flush_textures();
public:
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
- DEPRECATED void set_texture(const Texture *, const Sampler * = 0);
- DEPRECATED void set_texturing(const Texturing *);
- DEPRECATED unsigned allocate_effect_texunit();
-#pragma GCC diagnostic pop
DEPRECATED void set_material(const Material *);
DEPRECATED void set_lighting(const Lighting *);