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

The shader that will used to render this item

The texture that will be used

The normal texture that will be used

Trait Implementations

impl Clone for Material
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Material
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.