setResourcePath( resourcePath ) {

		this.resourcePath = resourcePath;
		return this;

	}
Sets the base path for dependent resources like textures.

@param {string} resourcePath - The resource path.
@return {Loader} A reference to this instance.