CVMetalBufferCache Constructors
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.
Overloads
| Name | Description |
|---|---|
| CVMetalBufferCache(IMTLDevice, CVMetalBufferCacheAttributes) |
Create a new CVMetalBufferCache instance. |
| CVMetalBufferCache(IMTLDevice, NSDictionary) |
Create a new CVMetalBufferCache instance. |
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.