Main Page
Modules
Data Structures
Related Pages
Direct3D 9 Interoperability [DEPRECATED]
CUd3d9map_flags
CUd3d9map_flags_enum
cuD3D9MapResources
CUd3d9register_flags
CUd3d9register_flags_enum
cuD3D9RegisterResource
cuD3D9ResourceGetMappedArray
cuD3D9ResourceGetMappedPitch
cuD3D9ResourceGetMappedPointer
cuD3D9ResourceGetMappedSize
cuD3D9ResourceGetSurfaceDimensions
cuD3D9ResourceSetMapFlags
cuD3D9UnmapResources
cuD3D9UnregisterResource
CUresult
cuD3D9UnregisterResource
(
IDirect3DResource9 *
pResource
)
Deprecated:
This function is deprecated as of Cuda 3.0.
Unregisters the Direct3D resource
pResource
so it is not accessible by CUDA unless registered again.
If
pResource
is not registered, then
CUDA_ERROR_INVALID_HANDLE
is returned.
Parameters:
pResource
- Resource to unregister
Returns:
CUDA_SUCCESS
,
CUDA_ERROR_DEINITIALIZED
,
CUDA_ERROR_NOT_INITIALIZED
,
CUDA_ERROR_INVALID_CONTEXT
,
CUDA_ERROR_INVALID_HANDLE
,
CUDA_ERROR_UNKNOWN
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuGraphicsUnregisterResource
Generated by Doxygen for NVIDIA CUDA Library