Options
All
  • Public
  • Public/Protected
  • All
Menu

Module mergepass

Index

Functions

loop

makeTexture

  • makeTexture(gl: WebGL2RenderingContext, options?: MergerOptions): WebGLTexture
  • creates a texture given a context and options

    Parameters

    • gl: WebGL2RenderingContext
    • Optional options: MergerOptions

    Returns WebGLTexture

sendTexture

  • sendTexture(gl: WebGL2RenderingContext, src: TexImageSource | WebGLTexture | null): void
  • copies onto texture

    Parameters

    • gl: WebGL2RenderingContext
    • src: TexImageSource | WebGLTexture | null

    Returns void

Generated using TypeDoc