NVAPI Reference Documentation
NVIDIA
Release 560
Mon Aug 5 2024

Functions
Nsight APIs

Functions

NVAPI_INTERFACE NvAPI_D3D11_GetResourceHandle (ID3D11Device *pDev, ID3D11Resource *pResource, NVDX_ObjectHandle *phObject)
 

Detailed Description

These APIs support the Parallel Nsight development-environment program.

Function Documentation

◆ NvAPI_D3D11_GetResourceHandle()

NVAPI_INTERFACE NvAPI_D3D11_GetResourceHandle ( ID3D11Device *  pDev,
ID3D11Resource *  pResource,
NVDX_ObjectHandle *  phObject 
)
DESCRIPTION: This function retrieves a driver handle to a DX10 resource
INPUT: pDev The device on which the resource was created
pResource The resource for which we want to retrieve a
driver handle.
SUPPORTED OS: Windows 7 and higher
OUTPUT: phObject Pointer to an NvAPI handle to be populated
on success
RETURN STATUS: NVAPI_OK if and only if phObject was populated with a valid
driver handle
@ NVAPI_OK
Success. Request is completed.
Definition nvapi_lite_common.h:258