Düzenle

Aracılığıyla paylaş


CVMetalTextureCache.TextureFromImage Method

Definition

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

Parameters

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

Returns

Applies to