Edit

Share via


IMTLTexture.ReplaceRegion Method

Definition

Overloads

ReplaceRegion(MTLRegion, nuint, IntPtr, nuint)
ReplaceRegion(MTLRegion, nuint, nuint, IntPtr, nuint, nuint)

ReplaceRegion(MTLRegion, nuint, IntPtr, nuint)

[Foundation.Export("replaceRegion:mipmapLevel:withBytes:bytesPerRow:")]
[Foundation.Preserve(Conditional=true)]
public void ReplaceRegion (Metal.MTLRegion region, nuint level, IntPtr pixelBytes, nuint bytesPerRow);
abstract member ReplaceRegion : Metal.MTLRegion * nuint * nativeint * nuint -> unit

Parameters

region
MTLRegion
level
System.System.UIntPtr System.unativeint
pixelBytes
IntPtr

nativeint

bytesPerRow
System.System.UIntPtr System.unativeint
Attributes

Applies to

ReplaceRegion(MTLRegion, nuint, nuint, IntPtr, nuint, nuint)

[Foundation.Export("replaceRegion:mipmapLevel:slice:withBytes:bytesPerRow:bytesPerImage:")]
[Foundation.Preserve(Conditional=true)]
public void ReplaceRegion (Metal.MTLRegion region, nuint level, nuint slice, IntPtr pixelBytes, nuint bytesPerRow, nuint bytesPerImage);
abstract member ReplaceRegion : Metal.MTLRegion * nuint * nuint * nativeint * nuint * nuint -> unit

Parameters

region
MTLRegion
level
System.System.UIntPtr System.unativeint
slice
System.System.UIntPtr System.unativeint
pixelBytes
IntPtr

nativeint

bytesPerRow
System.System.UIntPtr System.unativeint
bytesPerImage
System.System.UIntPtr System.unativeint
Attributes

Applies to