pub unsafe extern "C" fn cuGraphicsResourceGetMappedMipmappedArray(
pMipmappedArray: *mut CUmipmappedArray,
resource: CUgraphicsResource,
) -> CUresult
Expand description
\brief Get a mipmapped array through which to access a mapped graphics resource.
Returns in \p *pMipmappedArray a mipmapped array through which the mapped graphics resource \p resource. The value set in \p *pMipmappedArray may change every time that \p resource is mapped.
If \p resource is not a texture then it cannot be accessed via a mipmapped array and ::CUDA_ERROR_NOT_MAPPED_AS_ARRAY is returned. If \p resource is not mapped then ::CUDA_ERROR_NOT_MAPPED is returned.
\param pMipmappedArray - Returned mipmapped array through which \p resource may be accessed \param resource - Mapped resource to access
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_HANDLE, ::CUDA_ERROR_NOT_MAPPED, ::CUDA_ERROR_NOT_MAPPED_AS_ARRAY \notefnerr
\sa ::cuGraphicsResourceGetMappedPointer, ::cudaGraphicsResourceGetMappedMipmappedArray