Constructor
new TextureInfo(image)
Create a TextureInfo, called automatically by the engine
Parameters:
Name | Type | Description |
---|---|---|
image | HTMLImageElement |
- Source
Members
glTexture
PropertiesType | Description |
---|---|
WebGLTexture | webgl texture |
- Source
image
PropertiesType | Description |
---|---|
HTMLImageElement | image source |
- Source
size
PropertiesType | Description |
---|---|
Vector2 | size of the image |
- Source