ReadonlycustomReadonlygeometry2dReadonlygeometryReadonlylayerReadonlymaterialReadonlytextureThe data of the file.
Name of the file to add. May include a path. e.g. "textures/123.jpg". Has to be lowercase.
OptionalpCompress: boolean
If true the file should be compressed (if supported by the implementation) otherwise the file should not be compressed. (Default: true)
Adds an already cached resource to the container. True should be returned if the file was added, otherwise false (e.g. if the file was not found inside the cache).
Name of the file to add. May include a path. e.g. "textures/123.jpg". Has to be lowercase.
OptionalpCompress: boolean
If true the file should be compressed (if supported by the implementation) otherwise the file should not be compressed. (Default: true)
Adds a binary or text resource which will be embedded in the document container using an url.
The file url.
Name of the file to add. May include a path. e.g. "textures/123.jpg". Has to be lowercase.
If true the file containes binary data.
OptionalpCompress: boolean
If true the file should be compressed (if supported by the implementation) otherwise the file should not be compressed. (Default: true)
Can be used to register a task which needs to be finished before the the whole load/save process is finished. Tasks will be processed sequentially.
Adds a binary or text resource which will be embedded in the document container.