MCPcopy Create free account
hub / github.com/SFML/SFML / resourcesDir

Function resourcesDir

examples/keyboard/Keyboard.cpp:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace
19{
20std::filesystem::path resourcesDir()
21{
22#ifdef SFML_SYSTEM_IOS
23 return "";
24#else
25 return "resources";
26#endif
27}
28
29// Get the C++ enumerator name of the given `sf::Keyboard::Key` value including `Key::` prefix
30std::string keyIdentifier(sf::Keyboard::Key code)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected