Search
Preparing search index...
The search index is not available
glsl
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
Textures
Class Textures
Hierarchy
IterableStringMap
<
Texture
>
Textures
Index
Properties
animated
count
dirty
values
Methods
clean
create
OrUpdate
for
Each
get
has
reduce
set
Properties
animated
animated
:
boolean
= false
count
count
:
number
= 0
dirty
dirty
:
boolean
= false
values
values
:
StringMap
<
Texture
>
= new StringMap<T>()
Methods
clean
clean
(
)
:
void
Returns
void
create
OrUpdate
create
OrUpdate
(
gl
:
WebGLRenderingContext
|
WebGL2RenderingContext
, key
:
string
, urlElementOrData
:
string
|
HTMLCanvasElement
|
HTMLImageElement
|
HTMLVideoElement
|
Element
|
ITextureData
, index
?:
number
, options
?:
ITextureOptions
, workpath
:
string
)
:
Promise
<
Texture
>
Parameters
gl:
WebGLRenderingContext
|
WebGL2RenderingContext
key:
string
urlElementOrData:
string
|
HTMLCanvasElement
|
HTMLImageElement
|
HTMLVideoElement
|
Element
|
ITextureData
Default value
index:
number
= 0
Default value
options:
ITextureOptions
= {}
workpath:
string
Returns
Promise
<
Texture
>
for
Each
for
Each
(
callbackfn
:
Function
)
:
void
Parameters
callbackfn:
Function
Returns
void
get
get
(
key
:
string
)
:
Texture
Parameters
key:
string
Returns
Texture
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
:
Texture
)
:
void
Parameters
key:
string
item:
Texture
Returns
void
Globals
Textures
animated
count
dirty
values
clean
create
OrUpdate
for
Each
get
has
reduce
set