Struct caper::posteffect::PostShaderOptions [] [src]

pub struct PostShaderOptions {
    pub chrom_offset: f32,
    pub chrom_amt: f32,
    pub blur: bool,
    pub blur_amt: f32,
    pub blur_radius: f32,
    pub blur_weight: f32,
    pub bokeh: bool,
    pub bokeh_focal_depth: f32,
    pub bokeh_focal_width: f32,
    pub color_offset: (f32, f32, f32, f32),
    pub greyscale: bool,
}

Contains all the options for the default post shader

Fields

The offset for the chromatic aberration

The mix amount for the chromatic aberration, if this is at 0.0 chromatic aberration is off

Whether blur is on

The amount of blur

The radius of the blur

The weight of the blur

Whether bokeh is on

Bokeh focal depth

Bokeh focal width

Colour grading

Greyscale

Trait Implementations

impl Clone for PostShaderOptions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for PostShaderOptions
[src]

[src]

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

[src]

This method tests for !=.