Struct three::material::basic::Custom [] [src]

pub struct Custom {
    pub color: Color,
    pub map: Option<Texture<[f32; 4]>>,
    pub pipeline: BasicPipelineState,
}

Parameters for a basic solid mesh material with a custom pipeline.

Renders triangle meshes with a custom pipeline with a basic material as its input.

Fields

Solid color applied in the absense of map.

Texture applied using the mesh texture co-ordinates.

The custom pipeline state object to be applied to the mesh.

Trait Implementations

impl Clone for Custom
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Custom
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Custom
[src]

[src]

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

[src]

This method tests for !=.

impl Hash for Custom
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for Custom
[src]