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, nuint)
[Foundation.Export("writeBytes: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 WriteBytes (IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, nuint imageIndex);
abstract member WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint -> unit
override this.WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint -> unit
Parameters
- dataBytes
-
IntPtr
nativeint
- dataLayout
- MPSDataLayout
- imageIndex
- System.System.UIntPtr System.unativeint
- Attributes
Applies to
WriteBytes(IntPtr, MPSDataLayout, nuint, MTLRegion, MPSImageReadWriteParams, nuint)
[Foundation.Export("writeBytes: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 WriteBytes (IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, nuint bytesPerRow, Metal.MTLRegion region, MetalPerformanceShaders.MPSImageReadWriteParams featureChannelInfo, nuint imageIndex);
abstract member WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * nuint -> unit
override this.WriteBytes : 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
WriteBytes(IntPtr, MPSDataLayout, nuint, nuint, MTLRegion, MPSImageReadWriteParams, nuint)
[Foundation.Export("writeBytes: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 WriteBytes (IntPtr dataBytes, MetalPerformanceShaders.MPSDataLayout dataLayout, nuint bytesPerRow, nuint bytesPerImage, Metal.MTLRegion region, MetalPerformanceShaders.MPSImageReadWriteParams featureChannelInfo, nuint imageIndex);
abstract member WriteBytes : nativeint * MetalPerformanceShaders.MPSDataLayout * nuint * nuint * Metal.MTLRegion * MetalPerformanceShaders.MPSImageReadWriteParams * nuint -> unit
override this.WriteBytes : 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