Modifier

Partager via


MTLComputeCommandEncoder_Extensions.MemoryBarrier Method

Definition

Overloads

MemoryBarrier(IMTLComputeCommandEncoder, MTLBarrierScope)
MemoryBarrier(IMTLComputeCommandEncoder, IMTLResource[], nuint)

MemoryBarrier(IMTLComputeCommandEncoder, MTLBarrierScope)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void MemoryBarrier (this Metal.IMTLComputeCommandEncoder This, Metal.MTLBarrierScope scope);
static member MemoryBarrier : Metal.IMTLComputeCommandEncoder * Metal.MTLBarrierScope -> unit

Parameters

Attributes

Applies to

MemoryBarrier(IMTLComputeCommandEncoder, IMTLResource[], nuint)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void MemoryBarrier (this Metal.IMTLComputeCommandEncoder This, Metal.IMTLResource[] resources, nuint count);
static member MemoryBarrier : Metal.IMTLComputeCommandEncoder * Metal.IMTLResource[] * nuint -> unit

Parameters

resources
IMTLResource[]
count
System.System.UIntPtr System.unativeint
Attributes

Applies to