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

Function GetRegisteredAdaptersCount

engine/graphics/src/graphics.cpp:1794–1804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1792 }
1793
1794 uint32_t GetRegisteredAdaptersCount()
1795 {
1796 uint32_t adapter_count = 0;
1797 GraphicsAdapter* next = g_adapter_list;
1798 while(next)
1799 {
1800 adapter_count++;
1801 next = next->m_Next;
1802 }
1803 return adapter_count;
1804 }
1805
1806 const HGraphicsAdapter GetRegisteredAdapter(uint32_t index)
1807 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected