Unravel Engine C++ Reference
Loading...
Searching...
No Matches
asset_actions.h File Reference
#include <engine/assets/asset_handle.h>
#include <filesystem/filesystem.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  unravel
 
namespace  unravel::asset_actions
 

Functions

auto unravel::asset_actions::resolve_asset_source_path (const std::string &asset_key) -> fs::path
 
auto unravel::asset_actions::resolve_asset_source_path (const fs::path &path) -> fs::path
 
auto unravel::asset_actions::can_reimport (const fs::path &absolute_path) -> bool
 
void unravel::asset_actions::reimport_path (const fs::path &absolute_path)
 
void unravel::asset_actions::reimport_key (const std::string &asset_key)
 
template<typename T >
void unravel::asset_actions::reimport (const asset_handle< T > &asset)
 
auto unravel::asset_actions::is_valid_csharp_identifier (const std::string &name) -> bool
 
auto unravel::asset_actions::create_script_from_template (const fs::path &template_path, const fs::path &dst, std::string *error=nullptr) -> bool
 Instantiate a ScriptComponent template (.cs.in), substituting #SCRIPTNAME# with the destination file stem. Uses atomic write when possible.