Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new CodeInstance(registerUsages: string[], glslRegisters: string[], hasRandom: boolean, uniforms: string[], preCompute: object): CodeInstance
  • Parameters

    • registerUsages: string[]
    • glslRegisters: string[]
    • hasRandom: boolean
    • uniforms: string[]
    • preCompute: object
      • [uniformName: string]: string[]

    Returns CodeInstance

Properties

Private analyser

analyser: AnalyserAdapter

Private bootTime

bootTime: number

cid

cid: number

Private glslRegisters

glslRegisters: string[]

h

h: number

hasRandom

hasRandom: boolean

Private preCompute

preCompute: object

Type declaration

  • [uniformName: string]: string[]

Private registerBank

registerBank: object

Type declaration

  • [name: string]: number

Private registerUsages

registerUsages: string[]

Private uniforms

uniforms: string[]

w

w: number

Methods

bindUniforms

getosc

  • getosc(band: number, width: number, channel: number): number

gettime

  • gettime(startTime: number): number

rand

  • rand(max: any): number

setup

  • setup(main: IMain): void

updateDimVars

  • updateDimVars(gl: WebGLRenderingContext): void

Static clone

Static copyValues