20 #if defined(_DEBUG) && defined(_WINDOWS)
21 #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
36 delete_m_material =
true;
38 m_material = material;
42 if(delete_m_material) {
44 delete_m_material =
false;
47 m_material =
const_cast<Material *
const &
>(material);
virtual void set_Material(const Material &material)=0
Set a Material.
virtual void post_render() const
An Abstraction of a Material.
virtual void unset_Material(const Material &material)=0
Unset a Material.
void fax_Material(const Material *const &material)
Set the Material, giving the Renderable a copy.
Video & get_Video()
Get access to the singleton.
virtual void pre_render() const
void give_Material(Material *const &material)
Set the Material, giving the Renderable ownership.
void lend_Material(const Material *const &material)
Set the Material, giving the Renderable no ownership.