CVMetalTextureCache.TextureFromImage 方法

定义

public CoreVideo.CVMetalTexture TextureFromImage (CoreVideo.CVImageBuffer imageBuffer, Metal.MTLPixelFormat format, nint width, nint height, nint planeIndex, out CoreVideo.CVReturn errorCode);
member this.TextureFromImage : CoreVideo.CVImageBuffer * Metal.MTLPixelFormat * nint * nint * nint *  -> CoreVideo.CVMetalTexture

参数

imageBuffer
CVImageBuffer
width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
planeIndex
System.System.IntPtr System.nativeint
errorCode
CVReturn

返回

适用于