load

load assets into engine3d cache

virtuosity.engine3d.load

Methods


Methods

addToLoadQueue

add an asset to the load queue

virtuosity.engine3d.load.addToLoadQueue(canvas, name, path);


Parameter Type Description
canvas String name of the canvas to add to cache
name String unique name of the mesh asset
path String path to the mesh (supports relative path)

loadQueueSize

get the size of the load queue of an engine3d canvas

virtuosity.engine3d.load.loadQueueSize(canvas);


Parameter Type Description
canvas String name of the canvas