Share via


CVMetalBufferCache Constructors

Definition

Overloads

CVMetalBufferCache(IMTLDevice, CVMetalBufferCacheAttributes)

Create a new CVMetalBufferCache instance.

public CVMetalBufferCache(Metal.IMTLDevice device, CoreVideo.CVMetalBufferCacheAttributes? attributes);
new CoreVideo.CVMetalBufferCache : Metal.IMTLDevice * CoreVideo.CVMetalBufferCacheAttributes -> CoreVideo.CVMetalBufferCache

Parameters

device
IMTLDevice

The Metal device to create the CVMetalBufferCache instance for.

attributes
CVMetalBufferCacheAttributes

Optional attributes to apply to the cache.

Applies to

CVMetalBufferCache(IMTLDevice, NSDictionary)

Create a new CVMetalBufferCache instance.

public CVMetalBufferCache(Metal.IMTLDevice device, Foundation.NSDictionary? attributes);
new CoreVideo.CVMetalBufferCache : Metal.IMTLDevice * Foundation.NSDictionary -> CoreVideo.CVMetalBufferCache

Parameters

device
IMTLDevice

The Metal device to create the CVMetalBufferCache instance for.

attributes
NSDictionary

An optional dictionary of attributes to apply to the cache.

Applies to