dan-shari-gl
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Texture
Pools
constructor
gl
textures
instance
create
Empty
Canvas
setGL
set
Image
GET_
INSTANCE
GET_
TEXTURE
Hierarchy
TexturePools
Index
Constructors
constructor
Properties
gl
textures
instance
Methods
create
Empty
Canvas
setGL
set
Image
GET_
INSTANCE
GET_
TEXTURE
Constructors
Private
constructor
new
Texture
Pools
(
)
:
TexturePools
Returns
TexturePools
Properties
Private
gl
gl
:
WebGLRenderingContext
textures
textures
:
object
Type declaration
[
key:
string
]:
WebGLTexture
Static
Private
instance
instance
:
TexturePools
Methods
Private
create
Empty
Canvas
create
Empty
Canvas
(
)
:
HTMLCanvasElement
Returns
HTMLCanvasElement
setGL
setGL
(
gl
:
WebGLRenderingContext
)
:
void
Parameters
gl:
WebGLRenderingContext
Returns
void
set
Image
set
Image
(
name
:
string
, element
:
HTMLImageElement
|
HTMLCanvasElement
)
:
void
Parameters
name:
string
element:
HTMLImageElement
|
HTMLCanvasElement
Returns
void
Static
GET_
INSTANCE
GET_
INSTANCE
(
)
:
TexturePools
Returns
TexturePools
Static
GET_
TEXTURE
GET_
TEXTURE
(
name
:
string
)
:
WebGLTexture
Parameters
name:
string
Returns
WebGLTexture
Generated using
TypeDoc