Home
last modified time | relevance | path

Searched refs:demoApp (Results 1 – 15 of 15) sorted by relevance

/NW4C-1.2.23/demos/lyt/archiveFont/sources/
Dmain.cpp183 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
184 demoApp.Initialize(); in nnMain()
186 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
190 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
206 … ReadArchiveFont(pArchiveFont , NW_DEMO_FILE_PATH(L"sample.bcfna"), demoApp.GetDeviceAllocator()); in nnMain()
229 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
254 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
256 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
258 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
269 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/multiArc/sources/
Dmain.cpp159 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
160 demoApp.Initialize(); in nnMain()
162 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
165 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout1.arc"), 128); in nnMain()
169 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout2.arc"), 128); in nnMain()
173 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout3.arc"), 128); in nnMain()
215 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
240 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
243 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
245 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/locationAdjust/sources/
Dmain.cpp169 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
170 demoApp.Initialize(); in nnMain()
172 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
176 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
208 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
258 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
260 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
264 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
275 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
277 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/simple/sources/
Dmain.cpp240 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()
[all …]
/NW4C-1.2.23/demos/lyt/extUserData/sources/
Dmain.cpp214 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
215 demoApp.Initialize(); in nnMain()
217 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
223 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
261 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
286 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
288 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
290 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
301 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
303 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/simple2/sources/
Dmain.cpp153 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
154 demoApp.Initialize(); in nnMain()
156 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
160 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
254 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
282 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
284 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
286 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
297 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
299 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/group/sources/
Dmain.cpp154 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
155 demoApp.Initialize(); in nnMain()
157 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
161 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
193 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
269 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
271 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
273 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
284 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
286 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/perspective/sources/
Dmain.cpp220 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
221 demoApp.Initialize(); in nnMain()
223 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
227 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
271 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
306 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
308 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
310 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
331 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
333 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-1.2.23/demos/font/ResFont/sources/
Dmain.cpp451 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
453 demoApp.Initialize(); in nnMain()
479 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
481 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
483 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
485 … DrawAscii(&drawer, pDrawStringBuf0, &font, demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
488 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
490 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
492 InitDraw(demoApp.DISPLAY1_WIDTH, demoApp.DISPLAY1_HEIGHT); in nnMain()
494 … DrawCounter(&drawer, pDrawStringBuf1, &font, demoApp.DISPLAY1_WIDTH, demoApp.DISPLAY1_HEIGHT); in nnMain()
[all …]
/NW4C-1.2.23/demos/font/OldResFont/sources/
Dmain.cpp323 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
325 demoApp.Initialize(); in nnMain()
347 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
349 glBindFramebuffer(GL_FRAMEBUFFER, demoApp.GetFrameBufferObject()); in nnMain()
353 demoApp.DISPLAY0_WIDTH, in nnMain()
354 demoApp.DISPLAY0_HEIGHT); in nnMain()
358 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
360 glBindFramebuffer(GL_FRAMEBUFFER, demoApp.GetFrameBufferObject()); in nnMain()
364 demoApp.DISPLAY1_WIDTH, in nnMain()
365 demoApp.DISPLAY1_HEIGHT); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/bounding/sources/
Dmain.cpp199 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
200 demoApp.Initialize(); in nnMain()
202 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
208 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
275 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
308 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
310 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
312 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
359 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
361 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-1.2.23/demos/font/ArchiveFont/sources/
Dmain.cpp530 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
532 demoApp.Initialize(); in nnMain()
565 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
567 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
569 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
575 demoApp.DISPLAY0_WIDTH, in nnMain()
576 demoApp.DISPLAY0_HEIGHT, in nnMain()
580 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
582 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
584 InitDraw(demoApp.DISPLAY1_WIDTH, demoApp.DISPLAY1_HEIGHT); in nnMain()
[all …]
/NW4C-1.2.23/demos/font/PackedFont/sources/
Dmain.cpp485 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
487 demoApp.Initialize(); in nnMain()
517 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
519 glBindFramebuffer(GL_FRAMEBUFFER, demoApp.GetFrameBufferObject()); in nnMain()
520 SetupTextCamera(textWriterResource, demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
524 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
526 glBindFramebuffer(GL_FRAMEBUFFER, demoApp.GetFrameBufferObject()); in nnMain()
527 SetupTextCamera(textWriterResource, demoApp.DISPLAY1_WIDTH, demoApp.DISPLAY1_HEIGHT); in nnMain()
531 demoApp.SwapBuffer(demoApp.DISPLAY_BOTH); in nnMain()
/NW4C-1.2.23/demos/lyt/animShare/sources/
Dmain.cpp386 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
387 demoApp.Initialize(); in nnMain()
389 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
395 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
448 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
476 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
478 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
480 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
509 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
511 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-1.2.23/demos/lyt/tagGroupBind/sources/
Dmain.cpp332 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
333 demoApp.Initialize(); in nnMain()
335 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
341 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
419 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
447 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
449 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
451 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
499 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
501 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]