pub unsafe extern "C" fn cuSurfObjectDestroy(
surfObject: CUsurfObject,
) -> CUresult
Expand description
\brief Destroys a surface object
Destroys the surface object specified by \p surfObject.
\param surfObject - Surface object to destroy
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE
\sa ::cuSurfObjectCreate, ::cudaDestroySurfaceObject