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

#pragma once

#include "glmRTTI.h"

namespace glm
{
	struct GeometryAssetV0;

	/**
	* \brief Geometry Group containing geometry files
	*/
	struct GLM_CORE_API GeometryGroupV0
	{
		GLM_RTTI("e1a63232-85ca-4551-a1e6-5462f8366c50", GeometryGroupV0, addAttributes)
	public:
		GLM_CLASS_STAT_ID( glm::MemoryStatIds::GolaemShared);

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

		/// The assets
		glm::Array<GeometryAssetV0*> _assets;

		GeometryGroupV0();
		~GeometryGroupV0();

		/**
		* \brief Erases an fbx geometry from this group
		*/
		void eraseAsset(unsigned int assetIndex);

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

	};
}
