CVMetalBufferCache.TryCreateHandle 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.
Try to create a new CVMetalBufferCache instance.
public static bool TryCreateHandle(Metal.IMTLDevice device, Foundation.NSDictionary? attributes, out IntPtr handle, out CoreVideo.CVReturn status);
static member TryCreateHandle : Metal.IMTLDevice * Foundation.NSDictionary * nativeint * CVReturn -> bool
Parameters
- device
- IMTLDevice
The Metal device to create the CVMetalBufferCache instance for.
- attributes
- NSDictionary
An optional dictionary of attributes to apply to the cache.
- handle
-
IntPtr
nativeint
The pointer to the new CVMetalBufferCache instance, if successful.
Returns
True if successful, otherwise false.