src/render/Render.js
function(render, imagePath) {
        var image = render.textures[imagePath];

        if (image)
            return image;

        image = render.textures[imagePath] = new Image();
        image.src = imagePath;

        return image;
    }
function(render, imagePath) {
        var image = render.textures[imagePath];

        if (image)
            return image;

        image = render.textures[imagePath] = new Image();
        image.src = imagePath;

        return image;
    }
Gets the requested texture (an Image) via its path
@method _getTexture
@private
@param {render} render
@param {string} imagePath
@return {Image} texture