Edit

Share via


CVOpenGLESTextureCache.TextureFromImage Method

Definition

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

Parameters

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

Returns

Applies to