Add GetNativePtr to GPUAdapter

This commit is contained in:
Wojciech Figat
2022-12-14 16:16:25 +01:00
parent 713aa3e0f9
commit 79f4dfcaab
4 changed files with 17 additions and 5 deletions

View File

@@ -41,6 +41,11 @@ public:
/// <returns>True if valid, otherwise false.</returns>
virtual bool IsValid() const = 0;
/// <summary>
/// Gets the native pointer to the underlying graphics device adapter. It's a low-level platform-specific handle.
/// </summary>
API_PROPERTY() virtual void* GetNativePtr() const = 0;
/// <summary>
/// Gets the GPU vendor identifier.
/// </summary>