pub trait Material: Resource {
Show 20 methods fn input_layout(&self) -> &[VertexAttrib]; fn uniforms(&self) -> &HashMap<String, Variant>; fn set_uniform(&mut self, name: &str, value: Variant); fn vs(&self) -> &str; fn fs(&self) -> &str; fn blend_enable(&self) -> bool { ... } fn blend_op(&self) -> BlendOp { ... } fn blend_src(&self) -> BlendFactor { ... } fn blend_dest(&self) -> BlendFactor { ... } fn blend_alpha_op(&self) -> BlendOp { ... } fn blend_alpha_src(&self) -> BlendFactor { ... } fn blend_alpha_dest(&self) -> BlendFactor { ... } fn color_write_mask(&self) -> u32 { ... } fn polygon_mode(&self) -> PolygonMode { ... } fn depth_enable(&self) -> bool { ... } fn depth_write_enable(&self) -> bool { ... } fn depth_func(&self) -> ComparisonFunc { ... } fn cull_mode(&self) -> CullMode { ... } fn line_width(&self) -> f32 { ... } fn front_face(&self) -> FrontFace { ... }
}

Required Methods

Provided Methods

Implementors