MPSTemporaryImage.PrefetchStorage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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