Writing the Functions#

Here is the basic structure of a simple application using PVRVk, and PVRUtilsVk or PVRUtilsEs. It follows the same outline shown in Creating the Application Skeleton.

class MyApp : public pvr::Shell
{
    //...Your class members here...
    pvr::Result::initApplication();
    pvr::Result::initView();
    pvr::Result::renderFrame();
    pvr::Result::releaseView();
    pvr::Result::quitApplication();
}

This section will elaborate on what to include within each of these functions.