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.
ยงParameters
pMipmappedArray: Returned mipmapped array through whichresourcemay be accessed.resource: Mapped resource to access.