CVMetalTextureCache.TextureFromImage Method
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.
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
- format
- MTLPixelFormat
- width
- System.System.IntPtr System.nativeint
- height
- System.System.IntPtr System.nativeint
- planeIndex
- System.System.IntPtr System.nativeint
- errorCode
- CVReturn