cudaError_t cudaD3D10GetDirect3DDevice ( ID3D10Device **  ppD3D10Device  ) 

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

Parameters:
ppD3D10Device - 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:
cudaD3D10SetDirect3DDevice


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA