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
- 属性