cudaError_t cudaD3D9GetDirect3DDevice ( IDirect3DDevice9 **  ppD3D9Device  ) 

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

Parameters:
ppD3D9Device - 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:
cudaD3D9SetDirect3DDevice


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA