pub unsafe extern "C" fn cuGraphicsResourceGetMappedMipmappedArray(
pMipmappedArray: *mut CUmipmappedArray,
resource: CUgraphicsResource,
) -> CUresultExpand description
Get a mipmapped array through which to access a mapped graphics resource.
Returns in *pMipmappedArray a mipmapped array through which the mapped graphics resource resource. The value set in *pMipmappedArray may change every time that resource is mapped.
If resource is not a texture then it cannot be accessed via a mipmapped array and cudaError_enum::CUDA_ERROR_NOT_MAPPED_AS_ARRAY is returned. If resource is not mapped then cudaError_enum::CUDA_ERROR_NOT_MAPPED is returned.
Note that this function may also return error codes from previous, asynchronous launches.
§Parameters
pMipmappedArray: Returned mipmapped array through whichresourcemay be accessed.resource: Mapped resource to access.
§Return value
CUresult::CUDA_SUCCESSCUresult::CUDA_ERROR_DEINITIALIZEDCUresult::CUDA_ERROR_NOT_INITIALIZEDCUresult::CUDA_ERROR_INVALID_CONTEXTCUresult::CUDA_ERROR_INVALID_VALUECUresult::CUDA_ERROR_INVALID_HANDLECUresult::CUDA_ERROR_NOT_MAPPEDCUresult::CUDA_ERROR_NOT_MAPPED_AS_ARRAY
See also: cuGraphicsResourceGetMappedPointer, cudaGraphicsResourceGetMappedMipmappedArray.