Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "shader"

Index

Variables

Const ERROR_REGEXP

ERROR_REGEXP: RegExp = /ERROR: \d+:(\d+): (.*)/

Functions

Const compileExtensionPragma

  • compileExtensionPragma(id: string, behavior: ExtensionBehavior, version: GLSLVersion): string

Const compileShader

  • compileShader(gl: WebGLRenderingContext, type: GLenum, src: string): WebGLShader

Const compileVars

Const defShader

Const initAttributes

Const initShaderExtensions

  • initShaderExtensions(gl: WebGLRenderingContext, exts: ExtensionBehaviors | undefined): void

Const initUniforms

Const parseAndThrowShaderError

  • parseAndThrowShaderError(gl: WebGLRenderingContext, shader: WebGLShader, src: string): never

Const prepareShaderSource

Const shaderSourceFromAST

Const varyingOpts

Generated using TypeDoc