Search
Preparing search index...
The search index is not available
gl-tiled
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
GLImagelayer
Class GLImagelayer
Hierarchy
GLImagelayer
Index
Constructors
constructor
Properties
alpha
desc
gl
image
scroll
ScaleX
scroll
ScaleY
texture
type
Methods
gl
Initialize
gl
Terminate
setup
Texture
upload
upload
Data
upload
Uniforms
Constructors
constructor
new GLImagelayer
(
desc
:
IImagelayer
, assetCache
?:
IAssetCache
)
:
GLImagelayer
Parameters
desc:
IImagelayer
Optional
assetCache:
IAssetCache
Returns
GLImagelayer
Properties
alpha
alpha
:
number
desc
desc
:
IImagelayer
gl
gl
:
WebGLRenderingContext
|
null
= null
image
image
:
TexImageSource
|
null
= null
scroll
ScaleX
scroll
ScaleX
:
number
= 1
scroll
ScaleY
scroll
ScaleY
:
number
= 1
texture
texture
:
WebGLTexture
|
null
= null
type
type
:
Imagelayer
= ELayerType.Imagelayer
Methods
gl
Initialize
gl
Initialize
(
gl
:
WebGLRenderingContext
)
:
void
Parameters
gl:
WebGLRenderingContext
Returns
void
gl
Terminate
gl
Terminate
(
)
:
void
Returns
void
setup
Texture
setup
Texture
(
doBind
?:
boolean
)
:
void
Parameters
Default value
doBind:
boolean
= true
Returns
void
upload
upload
(
)
:
void
Returns
void
upload
Data
upload
Data
(
doBind
?:
boolean
)
:
void
Parameters
Default value
doBind:
boolean
= true
Returns
void
upload
Uniforms
upload
Uniforms
(
shader
:
GLProgram
)
:
void
Parameters
shader:
GLProgram
Returns
void
Globals
GLImagelayer
constructor
alpha
desc
gl
image
scroll
ScaleX
scroll
ScaleY
texture
type
gl
Initialize
gl
Terminate
setup
Texture
upload
upload
Data
upload
Uniforms
Generated using
TypeDoc