Düzenle

Aracılığıyla paylaş


MPSImage.ReadBytes Method

Definition

Overloads

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

Parameters

dataBytes
IntPtr

nativeint

dataLayout
MPSDataLayout
imageIndex
System.System.UIntPtr System.unativeint
Attributes

Applies to

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

Parameters

dataBytes
IntPtr

nativeint

dataLayout
MPSDataLayout
bytesPerRow
System.System.UIntPtr System.unativeint
region
MTLRegion
featureChannelInfo
MPSImageReadWriteParams
imageIndex
System.System.UIntPtr System.unativeint
Attributes

Applies to

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

Parameters

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
Attributes

Applies to