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, IntPtr width, IntPtr height, IntPtr planeIndex, out CoreVideo.CVReturn errorCode);
member this.TextureFromImage : CoreVideo.CVImageBuffer * Metal.MTLPixelFormat * nativeint * nativeint * nativeint * CVReturn -> CoreVideo.CVMetalTexture
Parameters
- imageBuffer
- CVImageBuffer
- format
- MTLPixelFormat
- width
-
IntPtr
nativeint
- height
-
IntPtr
nativeint
- planeIndex
-
IntPtr
nativeint
- errorCode
- CVReturn