MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / fileSystemPathFromString

Function fileSystemPathFromString

OgreMain/src/OgreFileSystem.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 return "";
145 }
146 FileSystemPath fileSystemPathFromString( const String &path )
147 {
148# ifdef _OGRE_FILESYSTEM_ARCHIVE_UNICODE
149 return to_wpath( path, CP_UTF8 );
150# elif OGRE_PLATFORM == OGRE_PLATFORM_WIN32
151 return to_wpath( path, AreFileApisANSI() ? CP_ACP : CP_OEMCP );
152# elif OGRE_PLATFORM == OGRE_PLATFORM_WINRT
153 return to_wpath( path, CP_ACP );
154# endif
155 }
156 String fileSystemPathToString( const FileSystemPath &path )
157 {
158# ifdef _OGRE_FILESYSTEM_ARCHIVE_UNICODE

Callers 3

compileShaderCodeMethod · 0.85
compileShaderMethod · 0.85

Calls 1

to_wpathFunction · 0.85

Tested by

no test coverage detected