Skip to main content
Version: 0.10.0

MFXGLContext

Index

Constructors

constructor

  • new MFXGLContext(width: number, height: number): MFXGLContext

Properties

bufferInfo

bufferInfo: BufferInfo

cachedTextures

cachedTextures: WeakMap<VideoFrame, WebGLTexture> = ...

crop

crop: Crop = null

frameBufferInfo

frameBufferInfo: FramebufferInfo

gl

gl: WebGL2RenderingContext

paintProgramInfo

paintProgramInfo: ProgramInfo

textureIn

textureIn: WebGLTexture

textureOut

textureOut: WebGLTexture

Methods

attachTextureToFramebuffer

  • attachTextureToFramebuffer(texture: WebGLTexture): void

clear

  • clear(): void

setCrop

  • setCrop(crop: Crop): void