Struct amethyst_renderer::Material[][src]

pub struct Material {
    pub alpha_cutoff: f32,
    pub albedo: TextureHandle,
    pub albedo_offset: TextureOffset,
    pub emission: TextureHandle,
    pub emission_offset: TextureOffset,
    pub normal: TextureHandle,
    pub normal_offset: TextureOffset,
    pub metallic: TextureHandle,
    pub metallic_offset: TextureOffset,
    pub roughness: TextureHandle,
    pub roughness_offset: TextureOffset,
    pub ambient_occlusion: TextureHandle,
    pub ambient_occlusion_offset: TextureOffset,
    pub caveat: TextureHandle,
    pub caveat_offset: TextureOffset,
}

Material struct.

Fields

Alpha cutoff: the value at which we do not draw the pixel

Diffuse map.

Diffuse texture offset

Emission map.

Emission texture offset

Normal map.

Normal texture offset

Metallic map.

Metallic texture offset

Roughness map.

Roughness texture offset

Ambient occlusion map.

Ambient occlusion texture offset

Caveat map.

Caveat texture offset

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 !=.

impl Component for Material
[src]

Associated storage type for this component.

Auto Trait Implementations

impl Send for Material

impl Sync for Material