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