MPSImage.ReadBytes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReadBytes(IntPtr, MPSDataLayout, nuint)
[Foundation.Export("readBytes:dataLayout:imageIndex:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ReadBytes (IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, nuint imageIndex);
abstract member ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint -> unit
override this.ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint -> unit
参数
- dataBytes
-
IntPtr
nativeint
- dataLayout
- MPSDataLayout
- imageIndex
- System.System.UIntPtr System.unativeint
- 属性
适用于
ReadBytes(IntPtr, MPSDataLayout, nuint, MTLRegion, MPSImageReadWriteParams, nuint)
[Foundation.Export("readBytes:dataLayout:bytesPerRow:region:featureChannelInfo:imageIndex:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ReadBytes (IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, nuint bytesPerRow, Metal.MTLRegion region, MetalPerformanceShaders.MPSImageReadWriteParams featureChannelInfo, nuint imageIndex);
abstract member ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * nuint -> unit
override this.ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * nuint -> unit
参数
- dataBytes
-
IntPtr
nativeint
- dataLayout
- MPSDataLayout
- bytesPerRow
- System.System.UIntPtr System.unativeint
- region
- MTLRegion
- featureChannelInfo
- MPSImageReadWriteParams
- imageIndex
- System.System.UIntPtr System.unativeint
- 属性
适用于
ReadBytes(IntPtr, MPSDataLayout, nuint, nuint, MTLRegion, MPSImageReadWriteParams, nuint)
[Foundation.Export("readBytes:dataLayout:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void ReadBytes (IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, nuint bytesPerRow, nuint bytesPerImage, Metal.MTLRegion region, MetalPerformanceShaders.MPSImageReadWriteParams featureChannelInfo, nuint imageIndex);
abstract member ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint * nuint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * nuint -> unit
override this.ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint * nuint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * nuint -> unit
参数
- dataBytes
-
IntPtr
nativeint
- dataLayout
- MPSDataLayout
- bytesPerRow
- System.System.UIntPtr System.unativeint
- bytesPerImage
- System.System.UIntPtr System.unativeint
- region
- MTLRegion
- featureChannelInfo
- MPSImageReadWriteParams
- imageIndex
- System.System.UIntPtr System.unativeint
- 属性