Direct3D 9 Interoperability
[CUDA Driver API]


Modules

 Direct3D 9 Interoperability [DEPRECATED]

Typedefs

typedef enum CUd3d9DeviceList_enum CUd3d9DeviceList

Enumerations

enum  CUd3d9DeviceList_enum {
  CU_D3D9_DEVICE_LIST_ALL = 0x01,
  CU_D3D9_DEVICE_LIST_CURRENT_FRAME = 0x02,
  CU_D3D9_DEVICE_LIST_NEXT_FRAME = 0x03
}

Functions

CUresult cuD3D9CtxCreate (CUcontext *pCtx, CUdevice *pCudaDevice, unsigned int Flags, IDirect3DDevice9 *pD3DDevice)
 Create a CUDA context for interoperability with Direct3D 9.
CUresult cuD3D9CtxCreateOnDevice (CUcontext *pCtx, unsigned int flags, IDirect3DDevice9 *pD3DDevice, CUdevice cudaDevice)
 Create a CUDA context for interoperability with Direct3D 9.
CUresult cuD3D9GetDevice (CUdevice *pCudaDevice, const char *pszAdapterName)
 Gets the CUDA device corresponding to a display adapter.
CUresult cuD3D9GetDevices (unsigned int *pCudaDeviceCount, CUdevice *pCudaDevices, unsigned int cudaDeviceCount, IDirect3DDevice9 *pD3D9Device, CUd3d9DeviceList deviceList)
 Gets the CUDA devices corresponding to a Direct3D 9 device.
CUresult cuD3D9GetDirect3DDevice (IDirect3DDevice9 **ppD3DDevice)
 Get the Direct3D 9 device against which the current CUDA context was created.
CUresult cuGraphicsD3D9RegisterResource (CUgraphicsResource *pCudaResource, IDirect3DResource9 *pD3DResource, unsigned int Flags)
 Register a Direct3D 9 resource for access by CUDA.

Detailed Description

This section describes the Direct3D 9 interoperability functions of the low-level CUDA driver application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA