PVRShell Functions#

pvr::platform::to_string#

Function Documentation#

inline std::string pvr::platform::to_string(StateMachine::NewState state)#

pvr::newDemo#

Function Documentation#

std::unique_ptr<pvr::Shell> pvr::newDemo()#

&#8212;IMPLEMENT THIS FUNCTION IN YOUR MAIN CODE FILE TO POWER YOUR APPLICATION&#8212;

You must return an std::unique_ptr to pvr::Shell, that will be wrapping a pointer to an instance of your Application class. The implementation is usually trivial.

Returns

The implementation of this function is typically a single, simple line: return std::make_unique<MyApplicationClass>();

pvr::to_string#

Function Documentation#

inline std::string pvr::to_string(Keys key)#