X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-scene-loader%2Fpublic-api%2Fmesh-definition.h;h=2fe43943f9dbdc38c84fe43050fcbd6bcd440a33;hb=7875069ceecfd24c2a8cf3a28564f7d115296e93;hp=cd0ddc98a11ca8d074e0a344dc997f16b03c2338;hpb=b8da2e53925b9abb9fa362560069e8ca4aa62f81;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-scene-loader/public-api/mesh-definition.h b/dali-scene-loader/public-api/mesh-definition.h index cd0ddc9..2fe4394 100644 --- a/dali-scene-loader/public-api/mesh-definition.h +++ b/dali-scene-loader/public-api/mesh-definition.h @@ -177,7 +177,7 @@ struct DALI_SCENE_LOADER_API MeshDefinition std::vector mIndices; std::vector mAttribs; - unsigned int mBlendShapeBufferOffset; + unsigned int mBlendShapeBufferOffset{0}; Dali::Vector mBlendShapeUnnormalizeFactor; PixelData mBlendShapeData; }; @@ -243,9 +243,11 @@ public: // DATA Accessor mPositions; Accessor mNormals; // data can be generated based on positions Accessor mTexCoords; + Accessor mColors; Accessor mTangents; // data can be generated based on normals and texCoords (the latter isn't mandatory; the results will be better if available) Accessor mJoints0; Accessor mWeights0; + Property::Type mTangentType{Property::VECTOR3}; Blob mBlendShapeHeader; std::vector mBlendShapes;