【发布时间】:2015-11-13 16:21:08
【问题描述】:
我需要在我的应用程序中获取显卡信息。我需要的信息与 Graphics/Displays: 部分下的 *system_profiler SPDisplays* 命令显示的信息相同。 我已经考虑过使用 sysctl(),但我无法在 sysctl.h 中找到适合显卡的硬件选择器
任何建议都非常受欢迎。
【问题讨论】:
-
你应该使用 IOKit 而不是 sysctl:developer.apple.com/library/mac/#documentation/devicedrivers/…
-
感谢@Macmade 的建议。我将直接从 IOKit 开始。
标签: objective-c macos