Programmatically fetching graphics card details in MacOS

Is there any native cocoa API available which gives below graphic card details in Intel and Apple M1 machines?

Chipset Model,  Type,  Bus,  VRAM (Dynamic, Max),  Vendor,  Device ID,  Revision ID,  Automatic Graphics Switching,  gMux Version,  Metal Family

I need to get Graphics card information in my application. The information I need is the same as displayed by system_profiler SPDisplays command under the section Graphics/Displays but i am looking for native API instead of command.

Programmatically fetching graphics card details in MacOS
 
 
Q