Upravit

Sdílet prostřednictvím


IMTLTexture.GetBytes Method

Definition

Overloads

GetBytes(IntPtr, nuint, MTLRegion, nuint)
GetBytes(IntPtr, nuint, nuint, MTLRegion, nuint, nuint)

GetBytes(IntPtr, nuint, MTLRegion, nuint)

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

Parameters

pixelBytes
IntPtr

nativeint

bytesPerRow
System.System.UIntPtr System.unativeint
region
MTLRegion
level
System.System.UIntPtr System.unativeint
Attributes

Applies to

GetBytes(IntPtr, nuint, nuint, MTLRegion, nuint, nuint)

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

Parameters

pixelBytes
IntPtr

nativeint

bytesPerRow
System.System.UIntPtr System.unativeint
bytesPerImage
System.System.UIntPtr System.unativeint
region
MTLRegion
level
System.System.UIntPtr System.unativeint
slice
System.System.UIntPtr System.unativeint
Attributes

Applies to