[−][src]Trait rask_engine::resources::GetTextures
Required methods
fn get_textures<U: Into<usize> + Debug + Copy>(
&self,
id: U
) -> Result<Vec<(u64, &Texture)>, EngineError>
&self,
id: U
) -> Result<Vec<(u64, &Texture)>, EngineError>
Retrieve a resource from the library.
fn get_texture<U: Into<usize> + Debug + Copy>(
&self,
id: U,
sid: u64
) -> Result<&Texture, EngineError>
&self,
id: U,
sid: u64
) -> Result<&Texture, EngineError>
Retrieve a texture from the library.