function Resource(name, type)
{
	/**
	 * Resource name.
	 *
	 * Not required to be unique.
	 *
	 * @property name
	 * @type {string}
	 */
	this.name = name;

	/**
	 * UUID unique identifier.
	 *
	 * @property uuid
	 * @type {string}
	 */
	this.uuid = Math.generateUUID();

	/**
	 * Resource type. Used to identify the type of the resource, usefull for serialization.
	 *
	 * @property type
	 * @type {string}
	 */
	this.type = type;

	/**
	 * Data format (base64, arraybuffer, blob, url, chunk, ...).
	 *
	 * Indicates the format used to store the data.
	 *
	 * @property format
	 * @type {Object}
	 */
	this.format = "";

	/**
	 * Data encoding (mp3, jpg, mp4, ...).
	 *
	 * Indicates how the data is encoded.
	 *
	 * @property encoding
	 * @type {string | ArrayBuffer}
	 */
	this.encoding = "";

	/**
	 * Resource data.
	 *
	 * @property data
	 * @type {Object}
	 */
	this.data = null;
}
Resource class is used to represent resources.

Resources store data that is used by objects.

@class Resource
@module Resources