| 66 | |
| 67 | |
| 68 | std::vector<std::string> GetStaticModules() |
| 69 | { |
| 70 | return |
| 71 | { |
| 72 | #if LLGL_BUILD_RENDERER_DIRECT3D12 |
| 73 | ModuleDirect3D12::GetModuleName(), |
| 74 | #endif |
| 75 | #if LLGL_BUILD_RENDERER_DIRECT3D11 |
| 76 | ModuleDirect3D11::GetModuleName(), |
| 77 | #endif |
| 78 | #if LLGL_BUILD_RENDERER_VULKAN |
| 79 | ModuleVulkan::GetModuleName(), |
| 80 | #endif |
| 81 | #if LLGL_BUILD_RENDERER_METAL |
| 82 | ModuleMetal::GetModuleName(), |
| 83 | #endif |
| 84 | #if LLGL_BUILD_RENDERER_OPENGL |
| 85 | ModuleOpenGL::GetModuleName(), |
| 86 | #endif |
| 87 | #if LLGL_BUILD_RENDERER_OPENGLES3 |
| 88 | ModuleOpenGLES3::GetModuleName(), |
| 89 | #endif |
| 90 | #if LLGL_BUILD_RENDERER_WEBGL |
| 91 | ModuleWebGL::GetModuleName(), |
| 92 | #endif |
| 93 | #if LLGL_BUILD_RENDERER_NULL |
| 94 | ModuleNull::GetModuleName(), |
| 95 | #endif |
| 96 | }; |
| 97 | } |
| 98 | |
| 99 | const char* GetRendererName(const StringLiteral& moduleName) |
no test coverage detected