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