cudaError_t cudaD3D11GetDirect3DDevice ( ID3D11Device **  ppD3D11Device  ) 

Returns in *ppD3D11Device the Direct3D device against which this CUDA context was created in cudaD3D11SetDirect3DDevice().

Parameters:
ppD3D11Device - Returns the Direct3D device for this thread
Returns:
cudaSuccess, cudaErrorUnknown
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaD3D11SetDirect3DDevice


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA