Enumerations | |
enum | cudaD3D9MapFlags { cudaD3D9MapFlagsNone = 0, cudaD3D9MapFlagsReadOnly = 1, cudaD3D9MapFlagsWriteDiscard = 2 } |
enum | cudaD3D9RegisterFlags { cudaD3D9RegisterFlagsNone = 0, cudaD3D9RegisterFlagsArray = 1 } |
Functions | |
cudaError_t | cudaD3D9MapResources (int count, IDirect3DResource9 **ppResources) |
Map Direct3D resources for access by CUDA. | |
cudaError_t | cudaD3D9RegisterResource (IDirect3DResource9 *pResource, unsigned int flags) |
Registers a Direct3D resource for access by CUDA. | |
cudaError_t | cudaD3D9ResourceGetMappedArray (cudaArray **ppArray, IDirect3DResource9 *pResource, unsigned int face, unsigned int level) |
Get an array through which to access a subresource of a Direct3D resource which has been mapped for access by CUDA. | |
cudaError_t | cudaD3D9ResourceGetMappedPitch (size_t *pPitch, size_t *pPitchSlice, IDirect3DResource9 *pResource, unsigned int face, unsigned int level) |
Get the pitch of a subresource of a Direct3D resource which has been mapped for access by CUDA. | |
cudaError_t | cudaD3D9ResourceGetMappedPointer (void **pPointer, IDirect3DResource9 *pResource, unsigned int face, unsigned int level) |
Get a pointer through which to access a subresource of a Direct3D resource which has been mapped for access by CUDA. | |
cudaError_t | cudaD3D9ResourceGetMappedSize (size_t *pSize, IDirect3DResource9 *pResource, unsigned int face, unsigned int level) |
Get the size of a subresource of a Direct3D resource which has been mapped for access by CUDA. | |
cudaError_t | cudaD3D9ResourceGetSurfaceDimensions (size_t *pWidth, size_t *pHeight, size_t *pDepth, IDirect3DResource9 *pResource, unsigned int face, unsigned int level) |
Get the dimensions of a registered Direct3D surface. | |
cudaError_t | cudaD3D9ResourceSetMapFlags (IDirect3DResource9 *pResource, unsigned int flags) |
Set usage flags for mapping a Direct3D resource. | |
cudaError_t | cudaD3D9UnmapResources (int count, IDirect3DResource9 **ppResources) |
Unmap Direct3D resources for access by CUDA. | |
cudaError_t | cudaD3D9UnregisterResource (IDirect3DResource9 *pResource) |
Unregisters a Direct3D resource for access by CUDA. |