Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
/* SPDX-FileCopyrightText: 2024 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#include "BLI_string_ref.hh"
#include <string>
namespace blender::io::usd {
/**
* Return a valid USD identifier based on the passed in string.
* \param name: Incoming name to sanitize
* \param allow_unicode: Whether to allow unicode encoded characters in the USD identifier
* \return A valid USD identifier
*/
std::string make_safe_name(StringRef name, bool allow_unicode);
} // namespace blender::io::usd