Struct amethyst_renderer::MaterialBuilder []

pub struct MaterialBuilder<DA, TA, DE, TE, DN, TN, DM, TM, DR, TR, DO, TO, DC, TC> { /* fields omitted */ }

Builds new materials.

Methods

impl MaterialBuilder<[u8; 4], u8, [u8; 4], u8, [u8; 4], u8, [u8; 4], u8, [u8; 4], u8, [u8; 4], u8, [u8; 4], u8>
[src]

Creates a new material builder.

impl<DA, TA, DE, TE, DN, TN, DM, TM, DR, TR, DO, TO, DC, TC> MaterialBuilder<DA, TA, DE, TE, DN, TN, DM, TM, DR, TR, DO, TO, DC, TC>
[src]

Sets the albedo to an existing texture map.

Sets the emission to an existing texture map.

Sets the normal to an existing texture map.

Sets the metallic to an existing texture map.

Sets the roughness to an existing texture map.

Sets the ambient_occlusion to an existing texture map.

Sets the caveat to an existing texture map.

Builds and returns the new material.

Trait Implementations

impl<DA: Clone, TA: Clone, DE: Clone, TE: Clone, DN: Clone, TN: Clone, DM: Clone, TM: Clone, DR: Clone, TR: Clone, DO: Clone, TO: Clone, DC: Clone, TC: Clone> Clone for MaterialBuilder<DA, TA, DE, TE, DN, TN, DM, TM, DR, TR, DO, TO, DC, TC>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<DA: Debug, TA: Debug, DE: Debug, TE: Debug, DN: Debug, TN: Debug, DM: Debug, TM: Debug, DR: Debug, TR: Debug, DO: Debug, TO: Debug, DC: Debug, TC: Debug> Debug for MaterialBuilder<DA, TA, DE, TE, DN, TN, DM, TM, DR, TR, DO, TO, DC, TC>
[src]

Formats the value using the given formatter.

impl<DA: PartialEq, TA: PartialEq, DE: PartialEq, TE: PartialEq, DN: PartialEq, TN: PartialEq, DM: PartialEq, TM: PartialEq, DR: PartialEq, TR: PartialEq, DO: PartialEq, TO: PartialEq, DC: PartialEq, TC: PartialEq> PartialEq for MaterialBuilder<DA, TA, DE, TE, DN, TN, DM, TM, DR, TR, DO, TO, DC, TC>
[src]

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

This method tests for !=.