Struct caper::types::Material
[−]
[src]
pub struct Material { pub shader_name: String, pub texture_name: Option<String>, pub normal_texture_name: Option<String>, }
Struct for containing material information
Fields
shader_name: String
The shader that will used to render this item
texture_name: Option<String>
The texture that will be used
normal_texture_name: Option<String>
The normal texture that will be used
Trait Implementations
impl Clone for Material
[src]
fn clone(&self) -> Material
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more