33 #ifndef ZENI_RENDERABLE_H
34 #define ZENI_RENDERABLE_H
40 class ZENI_GRAPHICS_DLL Material;
42 class ZENI_GRAPHICS_DLL Video_GL_Fixed;
43 class ZENI_GRAPHICS_DLL Video_GL_Shader;
44 class ZENI_GRAPHICS_DLL Video_DX9;
56 virtual bool is_3d()
const = 0;
58 #ifndef DISABLE_GL_FIXED
62 #ifndef DISABLE_GL_SHADER
67 virtual void render_to(
Video_DX9 &screen)
const = 0;
70 virtual void pre_render()
const;
71 virtual void post_render()
const;
75 inline const Material * get_Material()
const;
76 void give_Material(
Material *
const &material);
77 void lend_Material(
const Material *
const &material);
78 void fax_Material(
const Material *
const &material);
82 bool delete_m_material;
The Direct3D9 Rendering System.
An Abstraction of a Material.
The OpenGL Rendering System.
The OpenGL Rendering System.