Creates a resource manager that can be used to fetch and store resources such as textures, geometries, etc.
Valid context to created fetched objects for. Note that add external resources are expected to belong to that same context.
Internal storage of buffers.
Context, used to get context information and WebGL API access.
Internal storage of geometries.
Internal storage of material.
Internal storage of 2D textures.
Allows to add a resource that, e.g., was not fetched by this resource manager but was loaded or generated somewhere else instead. Please note that by adding the resource, the manager assumes 'taking ownership'. If all given identifiers are already in use, the resource manager does not take ownership of the resource.
Resource to add.
The identifiers by which the resource can be queried from the ResourceManager.
Creates a Texture2D object and asynchronously loads its image via URL or data URI (@see Texture2D.fetch).
Meaningful name for identification of this instance.
Uniform resource locator string referencing the image that should be loaded (data URI supported).
Enable cross origin data loading.
add description