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
color: Color
Solid color applied in the absense of map.
map: Option<Texture<[f32; 4]>>
Texture applied using the mesh texture co-ordinates.
pipeline: BasicPipelineState
The custom pipeline state object to be applied to the mesh.
Trait Implementations
impl Clone for Custom[src]
fn clone(&self) -> Custom[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Custom[src]
impl PartialEq for Custom[src]
fn eq(&self, __arg_0: &Custom) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Custom) -> bool[src]
This method tests for !=.
impl Hash for Custom[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more