IMTLTexture.GetBytes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- pixelBytes
-
IntPtr
nativeint
- bytesPerRow
- System.System.UIntPtr System.unativeint
- region
- MTLRegion
- level
- System.System.UIntPtr System.unativeint
- 屬性
適用於
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
參數
- 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
- 屬性