Direct3D 10 Interoperability
[CUDA Runtime API]


Modules

 Direct3D 10 Interoperability [DEPRECATED]

Enumerations

enum  cudaD3D10DeviceList {
  cudaD3D10DeviceListAll = 1,
  cudaD3D10DeviceListCurrentFrame = 2,
  cudaD3D10DeviceListNextFrame = 3
}
enum  cudaD3D10MapFlags {
  cudaD3D10MapFlagsNone = 0,
  cudaD3D10MapFlagsReadOnly = 1,
  cudaD3D10MapFlagsWriteDiscard = 2
}
enum  cudaD3D10RegisterFlags {
  cudaD3D10RegisterFlagsNone = 0,
  cudaD3D10RegisterFlagsArray = 1
}

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 in this thread.
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