MCPcopy Create free account
hub / github.com/defold/defold / GetLinkedGraphicsAdapterCount

Function GetLinkedGraphicsAdapterCount

engine/graphics/src/graphics.cpp:87–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 uint32_t GetLinkedGraphicsAdapterCount()
88 {
89 uint32_t adapter_count = 0;
90 GraphicsAdapter* next = g_adapter_list;
91 while(next)
92 {
93 ++adapter_count;
94 next = next->m_Next;
95 }
96
97 return adapter_count;
98 }
99
100 static bool SelectAdapterByPriority()
101 {

Callers 1

VulkanIsSupportedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected