共用方式為


MTLBlitCommandEncoder_Extensions.OptimizeContentsForCpuAccess 方法

定義

多載

OptimizeContentsForCpuAccess(IMTLBlitCommandEncoder, IMTLTexture)
OptimizeContentsForCpuAccess(IMTLBlitCommandEncoder, IMTLTexture, nuint, nuint)

OptimizeContentsForCpuAccess(IMTLBlitCommandEncoder, IMTLTexture)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void OptimizeContentsForCpuAccess (this Metal.IMTLBlitCommandEncoder This, Metal.IMTLTexture texture);
static member OptimizeContentsForCpuAccess : Metal.IMTLBlitCommandEncoder * Metal.IMTLTexture -> unit

參數

texture
IMTLTexture
屬性

適用於

OptimizeContentsForCpuAccess(IMTLBlitCommandEncoder, IMTLTexture, nuint, nuint)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void OptimizeContentsForCpuAccess (this Metal.IMTLBlitCommandEncoder This, Metal.IMTLTexture texture, nuint slice, nuint level);
static member OptimizeContentsForCpuAccess : Metal.IMTLBlitCommandEncoder * Metal.IMTLTexture * nuint * nuint -> unit

參數

texture
IMTLTexture
slice
System.System.UIntPtr System.unativeint
level
System.System.UIntPtr System.unativeint
屬性

適用於