# How do I GetD3DRHI() in my project without invasively editing engine source code?

**URL:** <https://forums.unrealengine.com/t/how-do-i-getd3drhi-in-my-project-without-invasively-editing-engine-source-code/2017495>\
**Category:** Rendering\
**Tags:** directx, unreal-engine, question, CPP\
**Created:** [September 12, 2024, 10:10am UTC](https://forums.unrealengine.com/t/how-do-i-getd3drhi-in-my-project-without-invasively-editing-engine-source-code/2017495 "2024-09-12T10:10:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcraze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcraze](https://forums.unrealengine.com/u/mcraze)\
**Post date:** [September 12, 2024, 10:10am UTC](https://forums.unrealengine.com/t/how-do-i-getd3drhi-in-my-project-without-invasively-editing-engine-source-code/2017495/1 "2024-09-12T10:10:46Z")

</div>

Hey. I need to basically get the FD3D12DynamicRHI struct with all its cool things, however when trying to include headers for this I run into issues like other headers “missing”, even though they definitely aren’t.

Now either I edit the source code related to that, which is extremely undesirable, or I write my own data structure for D3D12 API, which is just as undesirable.

So basically what it says in the title.
