implementation of the GLC_Material class. More...
#include "glc_material.h"#include "../geometry/glc_geometry.h"#include "../glc_factory.h"#include <QtDebug>Go to the source code of this file.
Functions | |
| QDataStream & | operator<< (QDataStream &stream, const GLC_Material &material) |
| Non-member stream operator. | |
| QDataStream & | operator>> (QDataStream &stream, GLC_Material &material) |
implementation of the GLC_Material class.
Definition in file glc_material.cpp.
| QDataStream& operator<< | ( | QDataStream & | stream, | |
| const GLC_Material & | material | |||
| ) |
Non-member stream operator.
Definition at line 600 of file glc_material.cpp.
References GLC_Material::ambientColor(), GLC_Material::diffuseColor(), GLC_Material::emissiveColor(), GLC_Material::hasTexture(), GLC_Object::id(), GLC_Material::m_ChunkId, GLC_Object::name(), GLC_Material::opacity(), GLC_Material::shininess(), GLC_Material::specularColor(), and GLC_Material::textureHandle().
| QDataStream& operator>> | ( | QDataStream & | stream, | |
| GLC_Material & | material | |||
| ) |
Definition at line 623 of file glc_material.cpp.
References GLC_Factory::instance(), GLC_Material::m_ChunkId, GLC_Material::setAmbientColor(), GLC_Material::setDiffuseColor(), GLC_Object::setId(), GLC_Material::setLightEmission(), GLC_Object::setName(), GLC_Material::setOpacity(), GLC_Material::setShininess(), GLC_Material::setSpecularColor(), and GLC_Material::setTexture().