Struct kiss3d::resource::MeshManager [] [src]

pub struct MeshManager { /* fields omitted */ }

The mesh manager.

Upon construction, it contains:

It keeps a cache of already-loaded meshes. Note that this is only a cache, nothing more. Thus, its usage is not required to load meshes.

Methods

impl MeshManager
[src]

Creates a new mesh manager.

Mutably applies a function to the mesh manager.

Get a mesh with the specified name. Returns None if the mesh is not registered.

Adds a mesh with the specified name to this cache.

Adds a mesh with the specified mesh descriptor and name.

Removes a mesh from this cache.

Loads the meshes described by an obj file.