/***************************************************************************
*                                                                          *
*  Copyright (C) Golaem S.A.  All Rights Reserved.                         *
*                                                                          *
****************************************************************************/

#pragma once

#include "glmRTTI.h"

#include "glmAssetGroupV1.h" //contains AssetUnitV1
#include "glmClothAsset.h"
#include "glmFurAsset.h"

namespace glm
{
    struct MeshAssetV2;

    /**
* \brief Mesh Asset
*/
    struct GLM_CORE_API MeshAssetV3
    {
        GLM_RTTI("016f0089-3770-43fd-ac07-003b174fdea9", MeshAssetV3, addAttributes)
    public:
        GLM_CLASS_STAT_ID( glm::MemoryStatIds::GolaemShared);

        /// The name of the mesh
        glm::GlmString _name;

        glm::PODArray<int> _shadingGroups;

        glm::Array<AssetUnitV1> _excludedAssets;

        ClothAssetV0 _clothAsset;

        FurAssetV0 _furAsset;

        MeshAssetV3();
        MeshAssetV3(const MeshAssetV2& source);

    protected:
        /**
	* \brief Inspection needed method declaring the inspectable attributes.
	*/
        static void addAttributes();
    };
} // namespace glm
