Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Shaders

Index

Variables

Const programs

programs: Map<string, CompiledProgram> = new Map()

Functions

clear

  • clear(): void
  • Returns void

count

  • count(): number
  • Returns number

getOrCreate

  • getOrCreate(gl: WebGL2RenderingContext, vertexName: string, fragmentName: string): CompiledProgram
  • Parameters

    • gl: WebGL2RenderingContext
    • vertexName: string
    • fragmentName: string

    Returns CompiledProgram

load

  • Returns Promise<void>

recompile

  • Returns Promise<void>

Generated using TypeDoc