BaseTexture Class
A texture stores the information that represents an image. All textures have a base texture
Constructor
BaseTexture
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        source
Parameters:
- 
                    
                        sourceStringthe source object (image or canvas) 
Methods
fromImage
    
        
            (
    
    
        
            
        
    
    
    
    
    
        static
    
    
    
    
    - 
                    
                        imageUrl
Helper function that returns a base texture based on an image url If the image is not in the base texture cache it will be created and loaded
Parameters:
- 
                    
                        imageUrlStringThe image url of the texture 
Returns:
                
                    
                    BaseTexture
                
            
        Properties
height
    Number
    
    
    
    
    
    [read only] The height of the base texture set when the image has loaded
source
    Image
    
    
    
    
    
    The source that is loaded to create the texture
width
    Number
    
    
    
    
    
    [read only] The width of the base texture set when the image has loaded
