MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Create

Method Create

Source/Engine/GraphicsDevice/Null/GPUDeviceNull.cpp:27–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27GPUDevice* GPUDeviceNull::Create()
28{
29 // Create device
30 auto device = New<GPUDeviceNull>();
31 if (device->Init())
32 {
33 LOG(Warning, "Graphics Device init failed");
34 Delete(device);
35 return nullptr;
36 }
37
38 return device;
39}
40
41GPUDeviceNull::~GPUDeviceNull()
42{

Callers

nothing calls this directly

Calls 2

DeleteFunction · 0.85
InitMethod · 0.45

Tested by

no test coverage detected