Washington (CNN) Former national security adviser Susan Rice slammed President Donald Trump in an op-ed for The New York Times, writing that his "raw racism" is a global issue.

"Is there no floor to how low this President and complicit Republicans are prepared to go to divide America? Yet, the consequences of Mr. Trump's raw racism are not contained within America's shores. They ricochet around the world as far away as New Zealand, poison the international climate and undermine America's ability to secure our global interests," Rice, who served in the Obama administration, wrote in the piece published Tuesday.

"When the President of the United States reveals himself to be an unabashed bigot, attacking minorities in his own country, America's ability to stand credibly against human rights abuses ... is thwarted in ways lasting and immeasurable," Rice wrote. "Dictators around the world encounter no opprobrium from our government and are comforted to find a fellow traveler in rhetoric and policies that demean his own people."

In the piece, Rice said that "it's hard to calculate the damage that President Trump's overt racism and almost daily attacks on black and brown people are having on the fabric of our nation," but she linked the Trump to the Texas shooting, adding: "With white supremacy bolstered from the Oval Office, hate crimes and domestic terrorism incidents are increasing, including, it appears, Saturday's mass shooting in El Paso."

Read More