Share via


MPSTemporaryImage.PrefetchStorage Method

Definition

Indicates to the framework that the app might create temporary images described by descriptorList and to optimize memory allocations accordingly.

[Foundation.Export("prefetchStorageWithCommandBuffer:imageDescriptorList:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void PrefetchStorage(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImageDescriptor[] descriptorList);
[<Foundation.Export("prefetchStorageWithCommandBuffer:imageDescriptorList:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member PrefetchStorage : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImageDescriptor[] -> unit

Parameters

commandBuffer
IMTLCommandBuffer
descriptorList
MPSImageDescriptor[]
Attributes

Applies to