Module tokio

Module tokio 

Source
Expand description

Optional module supporting async loading with tokio traits.

The functions in this module are drop-in replacements for the standard non-async functions in this crate, but tailored to use tokio AsyncRead traits.

Functions§

load_mtl
Load the materials defined in a MTL file.
load_mtl_buf
Asynchronously load the various materials in a MTL buffer.
load_obj
Load the various objects specified in the OBJ file and any associated MTL file.
load_obj_buf
Asynchronously load the various meshes in an ‘OBJ’ buffer.