MPSImage.WriteBytes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteBytes(IntPtr, MPSDataLayout, UIntPtr)
[Foundation.Export("writeBytes:dataLayout:imageIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void WriteBytes(IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, UIntPtr imageIndex);
[<Foundation.Export("writeBytes:dataLayout:imageIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint -> unit
override this.WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint -> unit
Parameters
- dataBytes
-
IntPtr
nativeint
- dataLayout
- MPSDataLayout
- imageIndex
-
UIntPtr
unativeint
- Attributes
Applies to
WriteBytes(IntPtr, MPSDataLayout, UIntPtr, MTLRegion, MPSImageReadWriteParams, UIntPtr)
[Foundation.Export("writeBytes:dataLayout:bytesPerRow:region:featureChannelInfo:imageIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void WriteBytes(IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, UIntPtr bytesPerRow, Metal.MTLRegion region, MetalPerformanceShaders.MPSImageReadWriteParams featureChannelInfo, UIntPtr imageIndex);
[<Foundation.Export("writeBytes:dataLayout:bytesPerRow:region:featureChannelInfo:imageIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * unativeint -> unit
override this.WriteBytes : 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
WriteBytes(IntPtr, MPSDataLayout, UIntPtr, UIntPtr, MTLRegion, MPSImageReadWriteParams, UIntPtr)
[Foundation.Export("writeBytes:dataLayout:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void WriteBytes(IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, UIntPtr bytesPerRow, UIntPtr bytesPerImage, Metal.MTLRegion region, MetalPerformanceShaders.MPSImageReadWriteParams featureChannelInfo, UIntPtr imageIndex);
[<Foundation.Export("writeBytes:dataLayout:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint * unativeint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * unativeint -> unit
override this.WriteBytes : 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
WriteBytes(IntPtr, MPSDataLayout, UIntPtr, UIntPtr, UIntPtr, MTLRegion, MPSImageReadWriteParams, UIntPtr)
[Foundation.Export("writeBytes:dataLayout:bytesPerColumn:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void WriteBytes(IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, UIntPtr bytesPerColumn, UIntPtr bytesPerRow, UIntPtr bytesPerImage, Metal.MTLRegion region, MetalPerformanceShaders.MPSImageReadWriteParams featureChannelInfo, UIntPtr imageIndex);
[<Foundation.Export("writeBytes:dataLayout:bytesPerColumn:bytesPerRow:bytesPerImage:region:featureChannelInfo:imageIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint * unativeint * unativeint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * unativeint -> unit
override this.WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * unativeint * unativeint * unativeint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * unativeint -> unit
Parameters
- dataBytes
-
IntPtr
nativeint
- dataLayout
- MPSDataLayout
- bytesPerColumn
-
UIntPtr
unativeint
- bytesPerRow
-
UIntPtr
unativeint
- bytesPerImage
-
UIntPtr
unativeint
- region
- MTLRegion
- featureChannelInfo
- MPSImageReadWriteParams
- imageIndex
-
UIntPtr
unativeint
- Attributes