Direct3D 10 Interoperability
[CUDA Runtime API]


Modules

 Direct3D 10 Interoperability [DEPRECATED]

Enumerations

enum  cudaD3D10DeviceList {
  cudaD3D10DeviceListAll = 1,
  cudaD3D10DeviceListCurrentFrame = 2,
  cudaD3D10DeviceListNextFrame = 3
}

Functions

cudaError_t cudaD3D10GetDevice (int *device, IDXGIAdapter *pAdapter)
 Gets the device number for an adapter.
cudaError_t cudaD3D10GetDevices (unsigned int *pCudaDeviceCount, int *pCudaDevices, unsigned int cudaDeviceCount, ID3D10Device *pD3D10Device, enum cudaD3D10DeviceList deviceList)
 Gets the CUDA devices corresponding to a Direct3D 10 device.
cudaError_t cudaD3D10GetDirect3DDevice (ID3D10Device **ppD3D10Device)
 Gets the Direct3D device against which the current CUDA context was created.
cudaError_t cudaD3D10SetDirect3DDevice (ID3D10Device *pD3D10Device, int device=-1)
 Sets the Direct3D 10 device to use for interoperability with a CUDA device.
cudaError_t cudaGraphicsD3D10RegisterResource (struct cudaGraphicsResource **resource, ID3D10Resource *pD3DResource, unsigned int flags)
 Register a Direct3D 10 resource for access by CUDA.

Detailed Description

This section describes the Direct3D 10 interoperability functions of the CUDA runtime application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA