MCPcopy Create free account
hub / github.com/3Shain/dxmt / NvAPI_D3D_GetObjectHandleForResource

Function NvAPI_D3D_GetObjectHandleForResource

src/nvapi/nvapi.cpp:244–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244NVAPI_INTERFACE
245NvAPI_D3D_GetObjectHandleForResource(IUnknown *pDevice, IUnknown *pResource, NVDX_ObjectHandle *pHandle) {
246 /*
247 * SLI related API, return resource pointer as fake handle, since we won't use the handle anyway
248 */
249 *pHandle = (NVDX_ObjectHandle)pResource;
250 return NVAPI_OK;
251}
252
253NVAPI_INTERFACE
254NvAPI_D3D_SetResourceHint(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected