![]() |
Kochol Game Engine
0.1.0
|
#include <Material.h>
Public Member Functions | |
Material () | |
~Material () | |
Material & | operator= (const Material &mat) |
![]() | |
KgeUnknown () | |
Constructor. | |
virtual | ~KgeUnknown () |
Destructor. | |
virtual void | AddRef () |
Add a reference to the object. | |
virtual void | DecRef () |
Decrease a reference from the object. if its reference count get 0 then the object will destroy. | |
u32 | GetRefCount () |
Return resource reference count. | |
const char * | GetDebugText () |
returns the instance debug text. |
Public Attributes | |
kge::core::String | Name |
Material name. | |
Colorf | Ambient |
Ambient color. | |
Colorf | Diffuse |
Diffuse color. | |
Colorf | Specular |
Specular color. | |
Colorf | Emissive |
Emissive color. | |
float | Shininess |
0 - 128 Derakhshandegi. | |
Texture * | ppTexture [8] |
Textures. | |
ShaderInstance * | shader |
A Pointer to the shader if it's exist. | |
bool | Alpha |
Transparency. | |
bool | TextureAlphal |
Texture Alpha. | |
bool | Culling |
Colorf | Frensel |
Frensel color. | |
float | FrenselVal |
Frensel value. |
Additional Inherited Members | |
![]() | |
void | SetDebugText (char *text) |
The Material class.
Definition at line 23 of file Material.h.
|
inline |
|
inline |
Definition at line 34 of file Material.h.
References KGE_DELETE, and shader.
bool kge::gfx::Material::Alpha |
Colorf kge::gfx::Material::Ambient |
bool kge::gfx::Material::Culling |
Definition at line 67 of file Material.h.
Referenced by operator=().
Colorf kge::gfx::Material::Diffuse |
Colorf kge::gfx::Material::Emissive |
Colorf kge::gfx::Material::Frensel |
Frensel color.
Definition at line 68 of file Material.h.
float kge::gfx::Material::FrenselVal |
Frensel value.
Definition at line 69 of file Material.h.
kge::core::String kge::gfx::Material::Name |
Texture* kge::gfx::Material::ppTexture[8] |
ShaderInstance* kge::gfx::Material::shader |
A Pointer to the shader if it's exist.
Definition at line 64 of file Material.h.
Referenced by Material(), operator=(), and ~Material().
float kge::gfx::Material::Shininess |
Colorf kge::gfx::Material::Specular |
bool kge::gfx::Material::TextureAlphal |