Search
Preparing search index...
The search index is not available
glsl
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
Uniforms
Class Uniforms
Hierarchy
IterableStringMap
<
Uniform
>
Uniforms
Index
Properties
dirty
values
Methods
apply
clean
create
create
OrUpdate
create
Texture
for
Each
get
has
reduce
set
update
is
Array
OfBoolean
is
Array
OfInteger
is
Array
OfNumber
is
Array
OfSampler2D
is
Array
OfTexture
is
Different
parse
Uniform
Properties
dirty
dirty
:
boolean
= false
values
values
:
StringMap
<
Uniform
>
= new StringMap<T>()
Methods
apply
apply
(
gl
:
WebGLRenderingContext
|
WebGL2RenderingContext
, program
:
WebGLProgram
)
:
void
Parameters
gl:
WebGLRenderingContext
|
WebGL2RenderingContext
program:
WebGLProgram
Returns
void
clean
clean
(
)
:
void
Returns
void
create
create
(
method
:
UniformMethod
, type
:
UniformType
, key
:
string
, values
:
any
[]
)
:
Uniform
Parameters
method:
UniformMethod
type:
UniformType
key:
string
values:
any
[]
Returns
Uniform
create
OrUpdate
create
OrUpdate
(
method
:
UniformMethod
, type
:
UniformType
, key
:
string
, values
:
any
[]
)
:
void
Parameters
method:
UniformMethod
type:
UniformType
key:
string
values:
any
[]
Returns
void
create
Texture
create
Texture
(
key
:
string
, index
:
number
)
:
UniformTexture
Parameters
key:
string
index:
number
Returns
UniformTexture
for
Each
for
Each
(
callbackfn
:
Function
)
:
void
Parameters
callbackfn:
Function
Returns
void
get
get
(
key
:
string
)
:
Uniform
Parameters
key:
string
Returns
Uniform
has
has
(
key
:
string
)
:
boolean
Parameters
key:
string
Returns
boolean
reduce
reduce
(
callbackfn
:
Function
, initialValue
?:
any
)
:
any
Parameters
callbackfn:
Function
Optional
initialValue:
any
Returns
any
set
set
(
key
:
string
, item
:
Uniform
)
:
void
Parameters
key:
string
item:
Uniform
Returns
void
update
update
(
method
:
UniformMethod
, type
:
UniformType
, key
:
string
, values
:
any
[]
)
:
void
Parameters
method:
UniformMethod
type:
UniformType
key:
string
values:
any
[]
Returns
void
Static
is
Array
OfBoolean
is
Array
OfBoolean
(
array
:
any
[]
)
:
boolean
Parameters
array:
any
[]
Returns
boolean
Static
is
Array
OfInteger
is
Array
OfInteger
(
array
:
any
[]
)
:
boolean
Parameters
array:
any
[]
Returns
boolean
Static
is
Array
OfNumber
is
Array
OfNumber
(
array
:
any
[]
)
:
boolean
Parameters
array:
any
[]
Returns
boolean
Static
is
Array
OfSampler2D
is
Array
OfSampler2D
(
array
:
Uniform
[]
)
:
boolean
Parameters
array:
Uniform
[]
Returns
boolean
Static
is
Array
OfTexture
is
Array
OfTexture
(
array
:
any
[]
)
:
boolean
Parameters
array:
any
[]
Returns
boolean
Static
is
Different
is
Different
(
a
:
any
[]
, b
:
any
[]
)
:
boolean
Parameters
a:
any
[]
b:
any
[]
Returns
boolean
Static
parse
Uniform
parse
Uniform
(
key
:
string
, values
:
any
[]
, type
?:
UniformType
)
:
Uniform
|
Uniform
[]
Parameters
key:
string
values:
any
[]
Default value
type:
UniformType
= null
Returns
Uniform
|
Uniform
[]
Globals
Uniforms
dirty
values
apply
clean
create
create
OrUpdate
create
Texture
for
Each
get
has
reduce
set
update
is
Array
OfBoolean
is
Array
OfInteger
is
Array
OfNumber
is
Array
OfSampler2D
is
Array
OfTexture
is
Different
parse
Uniform