Load a chunk UV map.
Load a block.
Get the block type for the given block string. Registers a new block type if the path doesn't exist.
Load a bone UV map.
Load a bone.
Get the bone type for the given model/bone strings. Registers a new bone type if the specified one wasn't registered before.
Destroy both global and local cache.
Destroy the bone set cache.
Glob search within the pack.
Get a filesystem path given a pack path.
Load an image by a path relative to the pack. (from cache or filesystem).
Load a model texture.
Load a skeleton.
Free all textures loaded into the GPU and clear the image cache. Make sure to remove all references to those textures before calling.
Load an image by a filesystem path (from cache or filesystem).
Block types registered in the pack.
Bone types registered in the pack.
Description of the pack.
Option fields applied to specific files. Filename extensions are to be omitted in keys.
Targeted Isodi version
License of the pack.
Name of the pack.
Next block type ID to use.
Next bone type ID to use.
Version of the pack.
Path to the pack directory in the filesystem.
Get options for the given resource.
Load texture for a chunk.
// Load texture for the given bone sets.
Load bones for a skeleton, using the given bone set.
Combine the given images to create an atlas map. Each image must be square with dimensions equal to a power of two, eg. 32×32 or 128x128. All images must be of equal size.
Represents a pack.
To read a pack from a JSON file, use getPack. This must be used from the renderer thread.