CVMetalTextureCache.FromDevice 方法

定义

重载

FromDevice(IMTLDevice)
FromDevice(IMTLDevice, CVMetalTextureAttributes)
FromDevice(IMTLDevice, CVMetalTextureAttributes, CVReturn)

FromDevice(IMTLDevice)

public static CoreVideo.CVMetalTextureCache FromDevice (Metal.IMTLDevice metalDevice);
static member FromDevice : Metal.IMTLDevice -> CoreVideo.CVMetalTextureCache

参数

metalDevice
IMTLDevice

返回

适用于

FromDevice(IMTLDevice, CVMetalTextureAttributes)

public static CoreVideo.CVMetalTextureCache FromDevice (Metal.IMTLDevice metalDevice, CoreVideo.CVMetalTextureAttributes textureAttributes);
static member FromDevice : Metal.IMTLDevice * CoreVideo.CVMetalTextureAttributes -> CoreVideo.CVMetalTextureCache

参数

metalDevice
IMTLDevice
textureAttributes
CVMetalTextureAttributes

返回

适用于

FromDevice(IMTLDevice, CVMetalTextureAttributes, CVReturn)

public static CoreVideo.CVMetalTextureCache FromDevice (Metal.IMTLDevice metalDevice, CoreVideo.CVMetalTextureAttributes textureAttributes, out CoreVideo.CVReturn creationErr);
static member FromDevice : Metal.IMTLDevice * CoreVideo.CVMetalTextureAttributes *  -> CoreVideo.CVMetalTextureCache

参数

metalDevice
IMTLDevice
textureAttributes
CVMetalTextureAttributes
creationErr
CVReturn

返回

适用于