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
- 屬性