MCPcopy Create free account
hub / github.com/LukasBanana/LLGL / GetStaticModules

Function GetStaticModules

sources/Renderer/StaticModuleInterface.cpp:68–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68std::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
99const char* GetRendererName(const StringLiteral& moduleName)

Callers 1

FindModulesMethod · 0.85

Calls 1

GetModuleNameFunction · 0.50

Tested by

no test coverage detected