MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / open

Method open

physx/samples/sampleframework/renderer/src/RendererWindow.cpp:54–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool RendererWindow::open(PxU32 width, PxU32 height, const char *title, bool fullscreen)
55{
56 bool ok = false;
57 RENDERER_ASSERT(width && height, "Attempting to open a window with invalid width and/or height.");
58 if(width && height)
59 {
60 ok = m_platform->openWindow(width, height, title, fullscreen);
61#if !defined(RENDERER_WINDOWS)
62 m_isOpen = true;
63#endif
64 }
65 return ok;
66}
67
68void RendererWindow::close(void)
69{

Callers 3

mainInitializeFunction · 0.80
jquery.jsFile · 0.80
jquery.jsFile · 0.80

Calls 1

openWindowMethod · 0.45

Tested by

no test coverage detected