Struct glowygraph::render2::QBezier [] [src]

pub struct QBezier {
    pub position0: [f32; 2],
    pub position1: [f32; 2],
    pub position2: [f32; 2],
    pub inner_color0: [f32; 4],
    pub inner_color1: [f32; 4],
    pub falloff_color0: [f32; 4],
    pub falloff_color1: [f32; 4],
    pub falloff0: f32,
    pub falloff1: f32,
    pub falloff_radius0: f32,
    pub falloff_radius1: f32,
    pub inner_radius0: f32,
    pub inner_radius1: f32,
}

QBezier is used to pass a quadratic bezier curve into the shader with interpolating values.

Fields

Decreasing falloff makes the nodes brightness more centered at the middle and increasing it makes it consistent.

Trait Implementations

impl Copy for QBezier
[src]

impl Clone for QBezier
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for QBezier
[src]

[src]

Formats the value using the given formatter.

impl Vertex for QBezier

Builds the VertexFormat representing the layout of this element.

[src]

Returns true if the backend supports this vertex format.