mirror of
https://codeberg.org/icewind/tf-asset-loader.git
synced 2026-06-03 08:34:21 +02:00
readme update
This commit is contained in:
parent
26a8b2c534
commit
b758e2ea13
2 changed files with 24 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ impl Loader {
|
|||
|
||||
/// Add a new source to the loader.
|
||||
///
|
||||
/// This is intended to be used to add data from bsp files
|
||||
/// This is mainly intended to be used to add data from bsp files, but can also be used to load from additional paths or vpks.
|
||||
pub fn add_source<S: AssetSource + Send + Sync + 'static>(&mut self, source: S) {
|
||||
self.sources.push(Arc::new(source))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue