MCPcopy Create free account
hub / github.com/Autodesk/Aurora / create

Method create

Libraries/Aurora/Source/DirectX/PTDevice.cpp:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58unique_ptr<Aurora::PTDevice> PTDevice::create(PTDevice::Features features, int sampleCount)
59{
60 // Create a device object. If it is not valid, return null.
61 unique_ptr<PTDevice> pDevice = make_unique<PTDevice>(features, sampleCount);
62 if (!pDevice->_isValid)
63 {
64 return nullptr;
65 }
66
67 return pDevice;
68}
69
70PTDevice::PTDevice(PTDevice::Features features, int sampleCount)
71{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected