Unravel Engine C++ Reference
Loading...
Searching...
No Matches
ex Namespace Reference

Functions

template<typename T >
auto get_suported_formats () -> const std::vector< std::string > &
 
template<typename T >
auto get_suported_dependencies_formats () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::font > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< gfx::texture > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::mesh > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::audio_clip > () -> const std::vector< std::string > &
 
template<>
auto get_suported_dependencies_formats< gfx::shader > () -> const std::vector< std::string > &
 
template<>
auto get_suported_dependencies_formats< unravel::ui_tree > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< gfx::shader > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::material > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::animation_clip > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::prefab > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::scene_prefab > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::physics_material > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::script > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::ui_tree > () -> const std::vector< std::string > &
 
template<>
auto get_suported_formats< unravel::style_sheet > () -> const std::vector< std::string > &
 
auto get_all_formats () -> const std::vector< std::vector< std::string > > &
 
template<typename T >
auto is_format (const std::string &ex) -> bool
 
template<typename T >
auto get_format (bool include_dot=true) -> std::string
 
template<typename T >
auto get_suported_formats_with_wildcard () -> std::vector< std::string >
 
auto get_meta_format () -> const std::string &
 
auto get_meta_directory_no_slash (const std::string &prefix={}) -> std::string
 
auto get_data_directory_no_slash (const std::string &prefix={}) -> std::string
 
auto get_compiled_directory_no_slash (const std::string &prefix={}) -> std::string
 
auto get_meta_directory (const std::string &prefix={}) -> std::string
 
auto get_data_directory (const std::string &prefix={}) -> std::string
 
auto get_compiled_directory (const std::string &prefix={}) -> std::string
 
auto get_type (const std::string &ex, bool is_directory=false) -> const std::string &
 
template<typename T >
auto get_type () -> const std::string &
 

Function Documentation

◆ get_all_formats()

auto ex::get_all_formats ( ) -> const std::vector<std::vector<std::string>>&
inline

Definition at line 149 of file asset_extensions.h.

◆ get_compiled_directory()

auto ex::get_compiled_directory ( const std::string & prefix = {}) -> std::string
inline

Definition at line 240 of file asset_extensions.h.

◆ get_compiled_directory_no_slash()

auto ex::get_compiled_directory_no_slash ( const std::string & prefix = {}) -> std::string
inline

Definition at line 225 of file asset_extensions.h.

◆ get_data_directory()

auto ex::get_data_directory ( const std::string & prefix = {}) -> std::string
inline

Definition at line 235 of file asset_extensions.h.

◆ get_data_directory_no_slash()

auto ex::get_data_directory_no_slash ( const std::string & prefix = {}) -> std::string
inline

Definition at line 220 of file asset_extensions.h.

◆ get_format()

template<typename T >
auto ex::get_format ( bool include_dot = true) -> std::string
inline

Definition at line 186 of file asset_extensions.h.

◆ get_meta_directory()

auto ex::get_meta_directory ( const std::string & prefix = {}) -> std::string
inline

Definition at line 230 of file asset_extensions.h.

◆ get_meta_directory_no_slash()

auto ex::get_meta_directory_no_slash ( const std::string & prefix = {}) -> std::string
inline

Definition at line 215 of file asset_extensions.h.

◆ get_meta_format()

auto ex::get_meta_format ( ) -> const std::string&
inline

Definition at line 208 of file asset_extensions.h.

◆ get_suported_dependencies_formats()

template<typename T >
auto ex::get_suported_dependencies_formats ( ) -> const std::vector< std::string > &

◆ get_suported_dependencies_formats< gfx::shader >()

template<>
auto ex::get_suported_dependencies_formats< gfx::shader > ( ) -> const std::vector<std::string>&
inline

Definition at line 73 of file asset_extensions.h.

◆ get_suported_dependencies_formats< unravel::ui_tree >()

template<>
auto ex::get_suported_dependencies_formats< unravel::ui_tree > ( ) -> const std::vector<std::string>&
inline

Definition at line 80 of file asset_extensions.h.

◆ get_suported_formats()

template<typename T >
auto ex::get_suported_formats ( ) -> const std::vector<std::string>&

Definition at line 33 of file asset_extensions.h.

◆ get_suported_formats< gfx::shader >()

template<>
auto ex::get_suported_formats< gfx::shader > ( ) -> const std::vector<std::string>&
inline

Definition at line 87 of file asset_extensions.h.

◆ get_suported_formats< gfx::texture >()

template<>
auto ex::get_suported_formats< gfx::texture > ( ) -> const std::vector<std::string>&
inline

Definition at line 52 of file asset_extensions.h.

◆ get_suported_formats< unravel::animation_clip >()

template<>
auto ex::get_suported_formats< unravel::animation_clip > ( ) -> const std::vector<std::string>&
inline

Definition at line 101 of file asset_extensions.h.

◆ get_suported_formats< unravel::audio_clip >()

template<>
auto ex::get_suported_formats< unravel::audio_clip > ( ) -> const std::vector<std::string>&
inline

Definition at line 66 of file asset_extensions.h.

◆ get_suported_formats< unravel::font >()

template<>
auto ex::get_suported_formats< unravel::font > ( ) -> const std::vector<std::string>&
inline

Definition at line 45 of file asset_extensions.h.

◆ get_suported_formats< unravel::material >()

template<>
auto ex::get_suported_formats< unravel::material > ( ) -> const std::vector<std::string>&
inline

Definition at line 94 of file asset_extensions.h.

◆ get_suported_formats< unravel::mesh >()

template<>
auto ex::get_suported_formats< unravel::mesh > ( ) -> const std::vector<std::string>&
inline

Definition at line 59 of file asset_extensions.h.

◆ get_suported_formats< unravel::physics_material >()

template<>
auto ex::get_suported_formats< unravel::physics_material > ( ) -> const std::vector<std::string>&
inline

Definition at line 122 of file asset_extensions.h.

◆ get_suported_formats< unravel::prefab >()

template<>
auto ex::get_suported_formats< unravel::prefab > ( ) -> const std::vector<std::string>&
inline

Definition at line 108 of file asset_extensions.h.

◆ get_suported_formats< unravel::scene_prefab >()

template<>
auto ex::get_suported_formats< unravel::scene_prefab > ( ) -> const std::vector<std::string>&
inline

Definition at line 115 of file asset_extensions.h.

◆ get_suported_formats< unravel::script >()

template<>
auto ex::get_suported_formats< unravel::script > ( ) -> const std::vector<std::string>&
inline

Definition at line 129 of file asset_extensions.h.

◆ get_suported_formats< unravel::style_sheet >()

template<>
auto ex::get_suported_formats< unravel::style_sheet > ( ) -> const std::vector<std::string>&
inline

Definition at line 143 of file asset_extensions.h.

◆ get_suported_formats< unravel::ui_tree >()

template<>
auto ex::get_suported_formats< unravel::ui_tree > ( ) -> const std::vector<std::string>&
inline

Definition at line 136 of file asset_extensions.h.

◆ get_suported_formats_with_wildcard()

template<typename T >
auto ex::get_suported_formats_with_wildcard ( ) -> std::vector<std::string>
inline

Definition at line 197 of file asset_extensions.h.

◆ get_type() [1/2]

template<typename T >
auto ex::get_type ( ) -> const std::string&
inline

Definition at line 324 of file asset_extensions.h.

◆ get_type() [2/2]

auto ex::get_type ( const std::string & ex,
bool is_directory = false ) -> const std::string&
inline

Definition at line 246 of file asset_extensions.h.

◆ is_format()

template<typename T >
auto ex::is_format ( const std::string & ex) -> bool
inline

Definition at line 169 of file asset_extensions.h.