#include <material.h>
Public Member Functions | |
Material () | |
void | Zero () |
void | operator= (Material &source) |
void | SetDS (Color color) |
void | SetDS (float *source) |
void | SetDS (float r, float g, float b) |
void | SetDS (float r, float g, float b, float a) |
void | SetAlpha (float alpha) |
void | SetNull () |
void | SetFull (BOOL includeEmission=FALSE) |
void | Use () |
void | As (TypeMaterial mat) |
void | Record () |
void | Play () |
Public Attributes | |
int | typeFace |
Color | ambient |
Color | diffuse |
Color | specular |
Color | emission |
Enabling< GLint > | shiness |
0 par default | |
float | opacity |
Recorder | recorder |
recorder pour acceleration openGL |
Parametres:
Definition at line 84 of file material.h.
|
Definition at line 21 of file material.cpp. References Zero(). |
|
Definition at line 130 of file material.cpp. References AsMaterial::ambient, AsMaterial::diffuse, NB_MATERIAL, num, Enabling< GLint >::Set(), shiness, and AsMaterial::specular. |
|
Definition at line 41 of file material.cpp. References ambient, diffuse, emission, opacity, shiness, specular, and typeFace. |
|
Definition at line 121 of file material.cpp. References Recorder::Play(), and recorder. |
|
Definition at line 114 of file material.cpp. References Recorder::BeginRecord(), Recorder::EndRecord(), recorder, and Use(). |
|
Definition at line 65 of file material.cpp. References Color::a, alpha, and emission. Referenced by Control::SetAlphaBlending(). |
|
set diffuse and specular Definition at line 74 of file material.cpp. References emission, Color::Set(), and Color::SetNull(). |
|
Definition at line 82 of file material.cpp. References emission, Color::Set(), and Color::SetNull(). |
|
Definition at line 60 of file material.cpp. References SetDS(). |
|
Definition at line 52 of file material.cpp. References emission, and Color::SetNull(). Referenced by Tutorial::BaseDemo::BaseDemo(), Button::Button(), Config(), Tutorial::LayoutDemo::ConfigTextFace(), Tip::Create(), TaskWindow::Create(), MsgBox::Create(), Demo::Demo(), Tutorial::FaceDemo::FaceDemo(), ControlEngine::InitLights(), SetDS(), Tutorial::UniversDemo::SetFace(), Control::SetLines(), TextBox::TextBox(), Tip::Tip(), Title::Title(), and Tutorial::WindowDemo::WindowDemo(). |
|
Definition at line 98 of file material.cpp. References emission, and Color::SetFull(). Referenced by BasicText3D::BasicText3D(). |
|
Definition at line 90 of file material.cpp. References emission, and Color::SetNull(). Referenced by Object3D::DrawArrow(), Cursor::DrawArrow(), ControlEngine::DrawBackGround(), Object3D::DrawRepere(), Cursor::DrawRepere(), Object3D::DrawVector(), and Cursor::DrawVector(). |
|
Definition at line 105 of file material.cpp. References Enabling< GLint >::elem, emission, Enabling< GLint >::isEnable, Color::isEnable, shiness, and typeFace. Referenced by BasicText3D::Draw(), Face::Draw(), Box3D::Draw(), ControlEngine::Draw2DText(), Object3D::DrawArrow(), Cursor::DrawArrow(), ControlEngine::DrawBackGround(), Object3D::DrawRepere(), Cursor::DrawRepere(), Object3D::DrawVector(), Cursor::DrawVector(), and Record(). |
|
Definition at line 26 of file material.cpp. References Enabling< GLint >::elem, emission, shiness, typeFace, and Color::Zero(). Referenced by Material(), Light::Zero(), Face::Zero(), and Box3D::Zero(). |
|
Definition at line 88 of file material.h. Referenced by ValueEditors::MakeElemFaceStruct(), ValueEditors::MakeLightsStruct(), operator=(), and Light::Use(). |
|
Definition at line 89 of file material.h. Referenced by ValueEditors::MakeElemFaceStruct(), ValueEditors::MakeLightsStruct(), operator=(), and Light::Use(). |
|
Definition at line 91 of file material.h. Referenced by ControlEngine::Draw2DText(), Object3D::DrawArrow(), Cursor::DrawArrow(), ControlEngine::DrawBackGround(), Object3D::DrawRepere(), Cursor::DrawRepere(), Object3D::DrawVector(), Cursor::DrawVector(), ControlEngine::MajLights(), ValueEditors::MakeElemFaceStruct(), operator=(), SetAlpha(), SetDS(), SetFull(), SetNull(), Use(), and Zero(). |
|
Definition at line 93 of file material.h. Referenced by operator=(). |
|
recorder pour acceleration openGL
Definition at line 94 of file material.h. |
|
0 par default
Definition at line 92 of file material.h. Referenced by As(), ValueEditors::MakeElemFaceStruct(), operator=(), Use(), and Zero(). |
|
Definition at line 90 of file material.h. Referenced by ControlEngine::MajLights(), ValueEditors::MakeElemFaceStruct(), ValueEditors::MakeLightsStruct(), operator=(), and Light::Use(). |
|
Definition at line 87 of file material.h. Referenced by ValueEditors::MakeElemFaceStruct(), operator=(), Use(), and Zero(). |