AssetMeshCache

public sealed class AssetMeshCache
A cache for asset meshes which are read from assembly resources or files.

Constructors

AssetMeshCache

#
public AssetMeshCache()
Create a new asset cache for loading assets from files.

AssetMeshCache

#
public AssetMeshCache(Assembly assembly)
Create a new asset cache for loading assets from assembly resources.
assembly (Assembly)

Methods

Clear

#
public void Clear()
Clear the cache.

Load

#
public AssetMesh Load(string name)
Load and cache a mesh from assembly resources or the disk.
name (string)