Fork me on GitHub

API Documentation


Extends GLGE.Events, GLGE.JSONLoader, GLGE.QuickNotation.
A texture to be included in a material
Defined in: glge_texture.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Gets the textures used by the layer
 
Determin if the image resource has been downloaded
 
setSrc(url)
Sets the textures image location
Methods borrowed from class GLGE.QuickNotation:
_
Methods borrowed from class GLGE.JSONLoader:
getDownloadPriority, setDownloadPriority, setJSONSrc, setJSONString
Methods borrowed from class GLGE.Events:
addEventListener, fireEvent, removeEventListener
Event Summary
Event Attributes Event Name and Description
 
Class Detail
GLGE.Texture(uid)
Parameters:
{string} uid
the unique id for this texture
See:
GLGE.Material
Method Detail
{string} getSrc()
Gets the textures used by the layer
Returns:
{string} The textures image url

isComplete()
Determin if the image resource has been downloaded

setSrc(url)
Sets the textures image location
Parameters:
{string} url
the texture image url
Event Detail
downloadComplete(data)
Parameters:
{object} data

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 12 2012 14:20:23 GMT+0000 (GMT)