Webvs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
IGlobal
Var
Code
Instance
constructor
b
cid
h
has
Random
init
on
Beat
per
Frame
w
bind
Uniforms
getosc
gettime
rand
setup
update
Dim
Vars
clone
copy
Values
Hierarchy
CodeInstance
IGlobalVarCodeInstance
Index
Constructors
constructor
Properties
b
cid
h
has
Random
init
on
Beat
per
Frame
w
Methods
bind
Uniforms
getosc
gettime
rand
setup
update
Dim
Vars
clone
copy
Values
Constructors
constructor
new IGlobal
Var
Code
Instance
(
registerUsages
:
string
[]
, glslRegisters
:
string
[]
, hasRandom
:
boolean
, uniforms
:
string
[]
, preCompute
:
object
)
:
IGlobalVarCodeInstance
Parameters
registerUsages:
string
[]
glslRegisters:
string
[]
hasRandom:
boolean
uniforms:
string
[]
preCompute:
object
[
uniformName:
string
]:
string
[]
Returns
IGlobalVarCodeInstance
Properties
b
b
:
number
cid
cid
:
number
h
h
:
number
has
Random
has
Random
:
boolean
init
init
:
function
Type declaration
(
)
:
void
Returns
void
on
Beat
on
Beat
:
function
Type declaration
(
)
:
void
Returns
void
per
Frame
per
Frame
:
function
Type declaration
(
)
:
void
Returns
void
w
w
:
number
Methods
bind
Uniforms
bind
Uniforms
(
program
:
ShaderProgram
)
:
void
Parameters
program:
ShaderProgram
Returns
void
getosc
getosc
(
band
:
number
, width
:
number
, channel
:
number
)
:
number
Parameters
band:
number
width:
number
channel:
number
Returns
number
gettime
gettime
(
startTime
:
number
)
:
number
Parameters
startTime:
number
Returns
number
rand
rand
(
max
:
any
)
:
number
Parameters
max:
any
Returns
number
setup
setup
(
main
:
IMain
)
:
void
Parameters
main:
IMain
Returns
void
update
Dim
Vars
update
Dim
Vars
(
gl
:
WebGLRenderingContext
)
:
void
Parameters
gl:
WebGLRenderingContext
Returns
void
Static
clone
clone
(
cloneOrClones
:
CodeInstance
|
CodeInstance
[]
, count
:
any
)
:
CodeInstance
[]
Parameters
cloneOrClones:
CodeInstance
|
CodeInstance
[]
count:
any
Returns
CodeInstance
[]
Static
copy
Values
copy
Values
(
dest
:
CodeInstance
, src
:
CodeInstance
)
:
void
Parameters
dest:
CodeInstance
src:
CodeInstance
Returns
void