# How to get info about which GPU and CPU player has in C++?

**URL:** <https://forums.unrealengine.com/t/how-to-get-info-about-which-gpu-and-cpu-player-has-in-c/1989661>\
**Category:** C++\
**Tags:** directx, unreal-engine, editor, Blueprint, question\
**Created:** [August 24, 2024, 2:31am UTC](https://forums.unrealengine.com/t/how-to-get-info-about-which-gpu-and-cpu-player-has-in-c/1989661 "2024-08-24T02:31:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Player\_003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Player\_003](https://forums.unrealengine.com/u/Player_003)\
**Post date:** [August 24, 2024, 2:31am UTC](https://forums.unrealengine.com/t/how-to-get-info-about-which-gpu-and-cpu-player-has-in-c/1989661/1 "2024-08-24T02:31:07Z")

</div>

I want to make plugin that gets me info about which CPU player is using and GPU (Including how much VRAM it has), but im not sure how would i get info about that in C++

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [August 24, 2024, 8:25am UTC](https://forums.unrealengine.com/t/how-to-get-info-about-which-gpu-and-cpu-player-has-in-c/1989661/2 "2024-08-24T08:25:40Z")

</div>

You can get them from `WindowsPlatformSurvey.cpp` or `IOSPlatformSurvey.cpp`  
inside of  
`\Engine\Source\Runtime\ApplicationCore` and the specific platform folder

You could probably try to access it through the abstract layer of  
`ApplicationCore/GenericPlatform`

> **[GenericPlatform | Unreal Engine 5.4 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Runtime/ApplicationCore/GenericPlatform)**

Unreal also has a benchmark tool built in to set optimized settings based on hardware.
