MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / create

Method create

Source/Falcor/Core/Window.cpp:374–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372static std::atomic<size_t> sWindowCount;
373
374ref<Window> Window::create(const Desc& desc, ICallbacks* pCallbacks)
375{
376 return ref<Window>(new Window(desc, pCallbacks));
377}
378
379Window::Window(const Desc& desc, ICallbacks* pCallbacks)
380 : mDesc(desc), mMouseScale(1.0f / (float)desc.width, 1.0f / (float)desc.height), mpCallbacks(pCallbacks)

Callers 1

createClassFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected