Library/ManagedCuda/CudaDirectXInteropResource.cs
/// <summary>
/// Returns a CUmipmappedArray handle through which the subresource of the mapped graphics resource resource which
/// corresponds to array index <c>arrayIndex</c> and mipmap level <c>mipLevel</c> may be accessed. The pointer value in <c>CUmipmappedArray</c>
/// may change every time that <c>resource</c> is mapped.<para/>
/// If the resource is not a texture then it cannot be accessed via an array and <see cref="CUResult.ErrorNotMappedAsArray"/>
/// exception is thrwon. If <c>arrayIndex</c> is not a valid array index for the resource then <see cref="CUResult.ErrorInvalidValue"/>
/// exception is thrwon. If <c>mipLevel</c> is not a valid mipmap level for the resource then <see cref="CUResult.ErrorInvalidValue"/>
/// exception is thrwon. If the resource is not mapped then <see cref="CUResult.ErrorNotMapped"/> exception is thrwon.
/// </summary>
/// <returns></returns>
Returns a CUmipmappedArray handle through which the subresource of the mapped graphics resource resource which
corresponds to array index arrayIndexmipLevelCUmipmappedArrayresource
If the resource is not a texture then it cannot be accessed via an array and
exception is thrwon. If arrayIndex
exception is thrwon. If mipLevel
exception is thrwon. If the resource is not mapped then  exception is thrwon.
Returns a CUmipmappedArray handle through which the subresource of the mapped graphics resource resource which corresponds to array index arrayIndexmipLevelCUmipmappedArrayresource If the resource is not a texture then it cannot be accessed via an array and exception is thrwon . If arrayIndex exception is thrwon . If mipLevel exception is thrwon . If the resource is not mapped then exception is thrwon .
public CUmipmappedArray GetMappedCUMipmappedArray()
		{
			if (disposed) throw new ObjectDisposedException(this.ToString());
			CUmipmappedArray array = new CUmipmappedArray();
			res = DriverAPINativeMethods.GraphicsInterop.cuGraphicsResourceGetMappedMipmappedArray(ref array, _cudaResource);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cuGraphicsResourceGetMappedMipmappedArray", res));
			if (res != CUResult.Success)
				throw new CudaException(res);
			return array;
		}
public CUmipmappedArray GetMappedCUMipmappedArray ( ) { if ( disposed ) throw new ObjectDisposedException ( this . ToString ( ) ) ; CUmipmappedArray array = new CUmipmappedArray ( ) ; res = DriverAPINativeMethods . GraphicsInterop . cuGraphicsResourceGetMappedMipmappedArray ( ref array , _cudaResource ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != CUResult . Success ) throw new CudaException ( res ) ; return array ; }
Returns a CUmipmappedArray handle through which the subresource of the mapped graphics resource resource which
corresponds to array index arrayIndexmipLevelCUmipmappedArrayresource
If the resource is not a texture then it cannot be accessed via an array and
exception is thrwon.
Returns a CUmipmappedArray handle through which the subresource of the mapped graphics resource resource which corresponds to array index arrayIndexmipLevelCUmipmappedArrayresource If the resource is not a texture then it cannot be accessed via an array and exception is thrwon .
None