Struct dot_vox::Material [] [src]

pub struct Material {
    pub id: u8,
    pub material_type: MaterialType,
    pub properties: MaterialProperties,
}

A material used to render this model.

Fields

The ID for this material

The type of material this is

Additional property values.

Trait Implementations

impl Debug for Material
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Material
[src]

[src]

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

[src]

This method tests for !=.