Share via


MPSImage.SetPurgeableState(MPSPurgeableState) Method

Definition

Sets the purgeable state of the underlying texture for the image.

[Foundation.Export("setPurgeableState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSPurgeableState SetPurgeableState(MetalPerformanceShaders.MPSPurgeableState state);
[<Foundation.Export("setPurgeableState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetPurgeableState : MetalPerformanceShaders.MPSPurgeableState -> MetalPerformanceShaders.MPSPurgeableState
override this.SetPurgeableState : MetalPerformanceShaders.MPSPurgeableState -> MetalPerformanceShaders.MPSPurgeableState

Parameters

Returns

Attributes

Applies to