Struct caper::posteffect::PostShaderOptionsBuilder
[−]
[src]
pub struct PostShaderOptionsBuilder { /* fields omitted */ }
Builder for PostShaderOptions
.
Methods
impl PostShaderOptionsBuilder
[src]
fn chrom_offset(&mut self, value: f32) -> &mut Self
[src]
The offset for the chromatic aberration
fn chrom_amt(&mut self, value: f32) -> &mut Self
[src]
The mix amount for the chromatic aberration, if this is at 0.0 chromatic aberration is off
fn blur(&mut self, value: bool) -> &mut Self
[src]
Whether blur is on
fn blur_amt(&mut self, value: f32) -> &mut Self
[src]
The amount of blur
fn blur_radius(&mut self, value: f32) -> &mut Self
[src]
The radius of the blur
fn blur_weight(&mut self, value: f32) -> &mut Self
[src]
The weight of the blur
fn bokeh(&mut self, value: bool) -> &mut Self
[src]
Whether bokeh is on
fn bokeh_focal_depth(&mut self, value: f32) -> &mut Self
[src]
Bokeh focal depth
fn bokeh_focal_width(&mut self, value: f32) -> &mut Self
[src]
Bokeh focal width
fn color_offset(&mut self, value: (f32, f32, f32, f32)) -> &mut Self
[src]
Colour grading
fn greyscale(&mut self, value: bool) -> &mut Self
[src]
Greyscale
fn build(&self) -> Result<PostShaderOptions, String>
[src]
Trait Implementations
impl Default for PostShaderOptionsBuilder
[src]
fn default() -> PostShaderOptionsBuilder
[src]
Returns the "default value" for a type. Read more
impl Clone for PostShaderOptionsBuilder
[src]
fn clone(&self) -> PostShaderOptionsBuilder
[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