Compartir a través de


CVMetalTextureCache.TextureFromImage Método

Definición

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

Parámetros

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

Devoluciones

Se aplica a