Share via


IMTLRenderCommandEncoder.MemoryBarrier Method

Definition

Overloads

MemoryBarrier(MTLBarrierScope, MTLRenderStages, MTLRenderStages)

[Foundation.Export("memoryBarrierWithScope:afterStages:beforeStages:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void MemoryBarrier(Metal.MTLBarrierScope scope, Metal.MTLRenderStages after, Metal.MTLRenderStages before);
[<Foundation.Export("memoryBarrierWithScope:afterStages:beforeStages:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member MemoryBarrier : Metal.MTLBarrierScope * Metal.MTLRenderStages * Metal.MTLRenderStages -> unit
override this.MemoryBarrier : Metal.MTLBarrierScope * Metal.MTLRenderStages * Metal.MTLRenderStages -> unit

Parameters

Attributes

Applies to

MemoryBarrier(IMTLResource[], UIntPtr, MTLRenderStages, MTLRenderStages)

[Foundation.Export("memoryBarrierWithResources:count:afterStages:beforeStages:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void MemoryBarrier(Metal.IMTLResource[] resources, UIntPtr count, Metal.MTLRenderStages after, Metal.MTLRenderStages before);
[<Foundation.Export("memoryBarrierWithResources:count:afterStages:beforeStages:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member MemoryBarrier : Metal.IMTLResource[] * unativeint * Metal.MTLRenderStages * Metal.MTLRenderStages -> unit
override this.MemoryBarrier : Metal.IMTLResource[] * unativeint * Metal.MTLRenderStages * Metal.MTLRenderStages -> unit

Parameters

resources
IMTLResource[]
count
UIntPtr

unativeint

Attributes

Applies to