Lines Matching refs:demoApp
240 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
241 demoApp.Initialize(); in nnMain()
244 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
250 if (!fileLayout.Read(NW_DEMO_FILE_PATH(L"layout.arc"), demoApp.GetDeviceAllocator())) in nnMain()
291 if (!file.Read(resourcePath, demoApp.GetAllocator())) in nnMain()
312 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
314 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
318 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
327 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
329 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
340 demoApp.SwapBuffer(demoApp.DISPLAY_BOTH); in nnMain()
346 demoApp.GetDeviceAllocator().Free(fileLayout.Buffer()); in nnMain()