CVOpenGLESTextureCache.TextureFromImage 方法

定义

public CoreVideo.CVOpenGLESTexture TextureFromImage (CoreVideo.CVImageBuffer imageBuffer, bool isTexture2d, OpenTK.Graphics.ES20.All internalFormat, int width, int height, OpenTK.Graphics.ES20.All pixelFormat, OpenTK.Graphics.ES20.DataType pixelType, int planeIndex, out CoreVideo.CVReturn errorCode);
member this.TextureFromImage : CoreVideo.CVImageBuffer * bool * OpenTK.Graphics.ES20.All * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.DataType * int *  -> CoreVideo.CVOpenGLESTexture

参数

imageBuffer
CVImageBuffer
isTexture2d
Boolean
internalFormat
All
width
Int32
height
Int32
pixelFormat
All
pixelType
DataType
planeIndex
Int32
errorCode
CVReturn

返回

适用于