Share via


MPSImage.ReadBytes Method

Definition

Overloads

ReadBytes(IntPtr, MPSDataLayout, UIntPtr)

[Foundation.Export("readBytes:dataLayout:imageIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ReadBytes(IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, UIntPtr imageIndex);
[<Foundation.Export("readBytes:dataLayout:imageIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint -> unit
override this.ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint -> unit

Parameters

dataBytes
IntPtr

nativeint

dataLayout
MPSDataLayout
imageIndex
UIntPtr

unativeint

Attributes

Applies to

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

[Foundation.Export("readBytes:dataLayout:bytesPerRow:region:featureChannelInfo:imageIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ReadBytes(IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, UIntPtr bytesPerRow, Metal.MTLRegion region, MetalPerformanceShaders.MPSImageReadWriteParams featureChannelInfo, UIntPtr imageIndex);
[<Foundation.Export("readBytes:dataLayout:bytesPerRow:region:featureChannelInfo:imageIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * unativeint -> unit
override this.ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * unativeint -> unit

Parameters

dataBytes
IntPtr

nativeint

dataLayout
MPSDataLayout
bytesPerRow
UIntPtr

unativeint

region
MTLRegion
featureChannelInfo
MPSImageReadWriteParams
imageIndex
UIntPtr

unativeint

Attributes

Applies to

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

[Foundation.Export("readBytes:dataLayout:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ReadBytes(IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, UIntPtr bytesPerRow, UIntPtr bytesPerImage, Metal.MTLRegion region, MetalPerformanceShaders.MPSImageReadWriteParams featureChannelInfo, UIntPtr imageIndex);
[<Foundation.Export("readBytes:dataLayout:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint * unativeint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * unativeint -> unit
override this.ReadBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint * unativeint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * unativeint -> unit

Parameters

dataBytes
IntPtr

nativeint

dataLayout
MPSDataLayout
bytesPerRow
UIntPtr

unativeint

bytesPerImage
UIntPtr

unativeint

region
MTLRegion
featureChannelInfo
MPSImageReadWriteParams
imageIndex
UIntPtr

unativeint

Attributes

Applies to