pub unsafe extern "C" fn cuMipmappedArrayGetLevel(
pLevelArray: *mut CUarray,
hMipmappedArray: CUmipmappedArray,
level: c_uint,
) -> CUresult
Expand description
\brief Gets a mipmap level of a CUDA mipmapped array
Returns in \p *pLevelArray a CUDA array that represents a single mipmap level of the CUDA mipmapped array \p hMipmappedArray.
If \p level is greater than the maximum number of levels in this mipmapped array, ::CUDA_ERROR_INVALID_VALUE is returned.
\param pLevelArray - Returned mipmap level CUDA array \param hMipmappedArray - CUDA mipmapped array \param level - Mipmap level
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_HANDLE \notefnerr
\sa ::cuMipmappedArrayCreate, ::cuMipmappedArrayDestroy, ::cuArrayCreate, ::cudaGetMipmappedArrayLevel