Can we access native graphics API #184
-
I'm trying to integrate Optick (CPU/GPU profiler) into my project. |
Beta Was this translation helpful? Give feedback.
Answered by
TheMostDiligent
Feb 17, 2022
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
TheMostDiligent
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For every object you can query API-specific interface.
https://github.com/DiligentGraphics/DiligentCore/blob/master/Graphics/GraphicsEngineD3D11/interface/RenderDeviceD3D11.h#L57
https://github.com/DiligentGraphics/DiligentCore/blob/master/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h#L57
https://github.com/DiligentGraphics/DiligentCore/blob/master/Graphics/GraphicsEngine/interface/DeviceContext.h#L3122
https://github.com/DiligentGraphics/DiligentCore/blob/master/Graphics/GraphicsEngineVulkan/interface/CommandQueueVk.h#L80