forked from StrafesNET/strafe-project
21 lines
568 B
Rust
21 lines
568 B
Rust
|
#[cfg(feature="legacy")]
|
||
|
mod legacy;
|
||
|
#[cfg(feature="roblox")]
|
||
|
mod roblox;
|
||
|
#[cfg(feature="source")]
|
||
|
mod source;
|
||
|
|
||
|
pub mod texture_loader;
|
||
|
|
||
|
#[cfg(feature="legacy")]
|
||
|
pub fn legacy()->texture_loader::TextureLoader{
|
||
|
texture_loader::TextureLoader::Legacy(legacy::TextureLoader::new())
|
||
|
}
|
||
|
#[cfg(feature="roblox")]
|
||
|
pub fn roblox()->texture_loader::TextureLoader{
|
||
|
texture_loader::TextureLoader::Roblox(roblox::TextureLoader::new())
|
||
|
}
|
||
|
#[cfg(feature="source")]
|
||
|
pub fn source()->texture_loader::TextureLoader{
|
||
|
texture_loader::TextureLoader::Source(source::TextureLoader::new())
|
||
|
}
|