zenilib
0.5.3.0
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
Renderable.hxx
Go to the documentation of this file.
1
/* This file is part of the Zenipex Library (zenilib).
2
* Copyright (C) 2011 Mitchell Keith Bloch (bazald).
3
*
4
* zenilib is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* zenilib is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with zenilib. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef ZENI_RENDERABLE_HXX
19
#define ZENI_RENDERABLE_HXX
20
21
// HXXed below
22
#include <
Zeni/Material.h
>
23
24
#include <
Zeni/Renderable.h
>
25
26
namespace
Zeni {
27
28
Renderable::Renderable
()
29
: m_material(0),
30
delete_m_material(
false
)
31
{
32
}
33
34
Renderable::Renderable
(
const
Renderable
&rhs)
35
: m_material(0),
36
delete_m_material(
false
)
37
{
38
fax_Material
(rhs.m_material);
39
}
40
41
Renderable
&
Renderable::operator=
(
const
Renderable
&rhs) {
42
fax_Material
(rhs.m_material);
43
44
return
*
this
;
45
}
46
47
const
Material
*
Renderable::get_Material
()
const
{
48
return
m_material;
49
}
50
51
}
52
53
#include <
Zeni/Material.hxx
>
54
55
#endif
Zeni::Renderable::operator=
Renderable & operator=(const Renderable &rhs)
Definition:
Renderable.hxx:41
Zeni::Renderable::get_Material
const Material * get_Material() const
Get the Material.
Definition:
Renderable.hxx:47
Zeni::Material
An Abstraction of a Material.
Definition:
Material.h:56
Zeni::Renderable
A Renderable Interface.
Definition:
Renderable.h:47
Renderable.h
Zeni::Renderable::Renderable
Renderable()
Definition:
Renderable.hxx:28
Material.hxx
Zeni::Renderable::fax_Material
void fax_Material(const Material *const &material)
Set the Material, giving the Renderable a copy.
Definition:
Renderable.cpp:50
Material.h
false
#define false
Definition:
ftrandom.c:50
zenilib
jni
external
zenilib
zeni_graphics
Zeni
Renderable.hxx
Generated on Thu Oct 3 2013 19:56:49 for zenilib by
1.8.5