Radium Engine  1.5.20
Loading...
Searching...
No Matches
BlinnPhongMaterialData.cpp
1#include <Core/Asset/BlinnPhongMaterialData.hpp>
2
3namespace Ra {
4namespace Core {
5namespace Asset {
6
10BlinnPhongMaterialData::BlinnPhongMaterialData( const std::string& name ) :
11 MaterialData( name, "BlinnPhong" ),
12 m_diffuse(),
13 m_specular(),
14 m_shininess(),
15 m_opacity( 1.0 ),
16 m_texDiffuse( "" ),
17 m_texSpecular( "" ),
18 m_texShininess( "" ),
19 m_texNormal( "" ),
20 m_texOpacity( "" ),
21 m_hasDiffuse( false ),
22 m_hasSpecular( false ),
23 m_hasShininess( false ),
24 m_hasOpacity( false ),
25 m_hasTexDiffuse( false ),
26 m_hasTexSpecular( false ),
27 m_hasTexShininess( false ),
28 m_hasTexNormal( false ),
29 m_hasTexOpacity( false ) {}
30
31} // namespace Asset
32} // namespace Core
33} // namespace Ra
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3