Constructor
new Texture(src)
- Source:
Create new texture object.
Parameters:
Name | Type | Description |
---|---|---|
src |
string | Image to be loaded. |
Members
image :HTMLImageElement
- Source:
Where the image is stored once loaded.
Type:
- HTMLImageElement
renderable :boolean
- Source:
Records whether or not the image is renderable.
Type:
- boolean