Lines Matching refs:demoApp
242 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
243 demoApp.Initialize(); in nnMain()
246 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
252 if (!fileLayout.Read(NW_DEMO_FILE_PATH(L"layout.arc"), demoApp.GetDeviceAllocator())) in nnMain()
293 if (!file.Read(resourcePath, demoApp.GetAllocator())) in nnMain()
314 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
316 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
320 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
329 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
331 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
342 demoApp.SwapBuffer(demoApp.DISPLAY_BOTH); in nnMain()
348 demoApp.GetDeviceAllocator().Free(fileLayout.Buffer()); in nnMain()