共用方式為


MPSImage.ReadBytes 方法

定義

多載

ReadBytes(IntPtr, MPSDataLayout, nuint)
ReadBytes(IntPtr, MPSDataLayout, nuint, MTLRegion, MPSImageReadWriteParams, nuint)
ReadBytes(IntPtr, MPSDataLayout, nuint, nuint, MTLRegion, MPSImageReadWriteParams, nuint)

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

適用於