The FocusChanged event callback is called before the FocusLost
[platform/core/uifw/dali-toolkit.git] / dali-scene-loader / public-api / material-definition.h
index 80e93e7..2c9ed6c 100644 (file)
@@ -219,10 +219,20 @@ struct DALI_SCENE_LOADER_API MaterialDefinition
 public: // DATA
   uint32_t mFlags = 0x0;
 
-  Index                     mEnvironmentIdx = 0;
-  Vector4                   mColor          = Color::WHITE;
-  float                     mMetallic       = 1.f;
-  float                     mRoughness      = 1.f;
+  Index   mEnvironmentIdx    = 0;
+  Vector4 mColor             = Color::WHITE;
+  float   mMetallic          = 1.f;
+  float   mRoughness         = 1.f;
+  Vector4 mBaseColorFactor   = Vector4::ONE;
+  float   mNormalScale       = 1.f;
+  float   mOcclusionStrength = 1.f;
+  Vector3 mEmissiveFactor    = Vector3::ZERO;
+
+  // For the glTF, each of albedo, metallicRoughness, normal textures are not essential.
+  bool mNeedAlbedoTexture            = true;
+  bool mNeedMetallicRoughnessTexture = true;
+  bool mNeedNormalTexture            = true;
+
   std::vector<TextureStage> mTextureStages;
 };