Options
All
  • Public
  • Public/Protected
  • All
Menu

class that manages generation and compilation of GLSL code

Hierarchy

  • CodeBuilder

Index

Constructors

constructor

Properties

Private baseLoop

baseLoop: EffectLoop

Private calls

calls: string[] = ...

Private counter

counter: number = 0

Private exprs

exprs: Expr[]

flat array of expressions within loop for attaching uniforms

Private externalFuncs

externalFuncs: Set<string> = ...

Private totalNeeds

totalNeeds: Needs

Private uniformDeclarations

uniformDeclarations: Set<string> = ...

Methods

Private addEffectLoop

  • addEffectLoop(effectLoop: EffectLoop, indentLevel: number, buildInfo: BuildInfo, topLevel?: boolean): void

compileProgram

  • compileProgram(gl: WebGL2RenderingContext, vShader: WebGLShader, uniformLocs: UniformLocs, shaders?: WebGLShader[]): WebGLProgramLoop

Generated using TypeDoc