//----------------------------------------------------------------------------------------
 //----------------------------------------------------------------------------------------
 StandardDrawable::StandardDrawable(const Rendering::TextureCSPtr& in_texture, const Rendering::TextureAtlasCSPtr& in_atlas, const std::string& in_atlasId)
 {
     CS_ASSERT(in_atlas != nullptr, "The given texture atlas cannot be null.");
     CS_ASSERT(in_atlas->HasFrameWithId(in_atlasId) == true, "The texture atlas id \"" + in_atlasId + "\" must exist in the atlas.");
     
     SetTexture(in_texture);
     SetTextureAtlas(in_atlas);
     SetTextureAtlasId(in_atlasId);
 }
	TiledTextureRegion::TiledTextureRegion(TextureAtlas *pTextureAtlas,float x1,float y1,float x2,float y2)
	{
		SetTextureAtlas(pTextureAtlas,x1,y1,x2,y2);
	}