#include <xFileMaterial.h>
Public Member Functions | |
XFileMaterial () | |
~XFileMaterial () | |
void | set_from_egg (EggPrimitive *egg_prim) |
void | apply_to_egg (EggPrimitive *egg_prim, XFileToEggConverter *converter) |
int | compare_to (const XFileMaterial &other) const |
bool | has_material () const |
bool | has_texture () const |
void | make_material_data (Datagram &raw_data) |
void | make_texture_data (Datagram &raw_data) |
bool | read_material_data (const Datagram &raw_data) |
bool | read_texture_data (const Datagram &raw_data) |
Private Attributes | |
Colorf | _face_color |
float | _power |
RGBColorf | _specular_color |
RGBColorf | _emissive_color |
Filename | _texture |
bool | _has_material |
bool | _has_texture |
|
Definition at line 35 of file xFileMaterial.cxx. References _emissive_color, _face_color, _has_material, _has_texture, _power, and _specular_color. |
|
Definition at line 51 of file xFileMaterial.cxx. |
|
|
Definition at line 141 of file xFileMaterial.cxx. References _emissive_color, _face_color, _power, _specular_color, _texture, and Filename::c_str(). |
|
Definition at line 167 of file xFileMaterial.cxx. References _has_material. Referenced by XFileMesh::add_material(). |
|
Definition at line 178 of file xFileMaterial.cxx. References _has_texture. Referenced by XFileMaker::finalize_mesh(). |
|
Definition at line 189 of file xFileMaterial.cxx. References _emissive_color, _face_color, _power, _specular_color, Datagram::add_float32(), and Datagram::clear(). Referenced by XFileMaker::finalize_mesh(). |
|
Definition at line 211 of file xFileMaterial.cxx. References _texture, Datagram::add_int32(), Datagram::clear(), and Filename::to_os_specific(). Referenced by XFileMaker::finalize_mesh(). |
|
Definition at line 249 of file xFileMaterial.cxx. References _emissive_color, _face_color, _has_material, _power, _specular_color, DatagramIterator::get_float32(), DatagramIterator::get_remaining_size(), and nout. Referenced by XFileToEggConverter::convert_material(). |
|
Definition at line 280 of file xFileMaterial.cxx. References _has_texture, _texture, Filename::from_os_specific(), DatagramIterator::get_int32(), DatagramIterator::get_remaining_size(), and nout. Referenced by XFileToEggConverter::convert_texture(). |
|
|
Definition at line 58 of file xFileMaterial.h. Referenced by apply_to_egg(), compare_to(), make_material_data(), read_material_data(), set_from_egg(), and XFileMaterial(). |
|
Definition at line 55 of file xFileMaterial.h. Referenced by apply_to_egg(), compare_to(), make_material_data(), read_material_data(), set_from_egg(), and XFileMaterial(). |
|
Definition at line 61 of file xFileMaterial.h. Referenced by has_material(), read_material_data(), set_from_egg(), and XFileMaterial(). |
|
Definition at line 62 of file xFileMaterial.h. Referenced by has_texture(), read_texture_data(), set_from_egg(), and XFileMaterial(). |
|
Definition at line 56 of file xFileMaterial.h. Referenced by apply_to_egg(), compare_to(), make_material_data(), read_material_data(), set_from_egg(), and XFileMaterial(). |
|
Definition at line 57 of file xFileMaterial.h. Referenced by apply_to_egg(), compare_to(), make_material_data(), read_material_data(), set_from_egg(), and XFileMaterial(). |
|
Definition at line 59 of file xFileMaterial.h. Referenced by apply_to_egg(), compare_to(), make_texture_data(), read_texture_data(), and set_from_egg(). |