Hi, I'm trying to use a third party UI rendered in my game and I need to get the ID3D11Device /ID3D12Device pointer used by the game. is there an easy way to do that?? If not, any suggestion of how doing that ?
Thanks !
Re: Is possible to get the ID3D11Device and ID3D11DeviceContext of the Game/Engine?
#2You would need to modify the renderer to get access to the raw rendering device interface provided by D3D. You would also need to make sure you are not stepping on the render threads toes - ideally by modifying the render thread functionality to process your requests.
It is possibly easier to create your own rendering device/context and render to texture and submit that via the generic render interface in CRYENGINE. This would need no modification to the engine really as you would be rendering to a 2d plane on the screen or 3d plane in the world. It would possibly be less efficient though of course.
It is possibly easier to create your own rendering device/context and render to texture and submit that via the generic render interface in CRYENGINE. This would need no modification to the engine really as you would be rendering to a 2d plane on the screen or 3d plane in the world. It would possibly be less efficient though of course.
Uniflare
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.
My personal belongings;
Beginner Guides | My GitHub | Splash Plugin
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.
My personal belongings;
Beginner Guides | My GitHub | Splash Plugin