Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CompiledProgram

Hierarchy

  • CompiledProgram

Index

Constructors

Properties

Methods

Constructors

constructor

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

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

    Returns CompiledProgram

Properties

attribs

attribs: Record<string, number>

program

program: WebGLProgram

uniforms

uniforms: Record<string, number>

Methods

initialize

  • initialize(): void
  • Returns void

link

  • Returns Promise<void>

Generated using TypeDoc