Module radial

Source
Expand description

Radial gradients

Specification: https://drafts.csswg.org/css-images-4/#radial-gradients

Radial gradients are rendered via cached render tasks and composited with the image brush.

Structs§

RadialGradient
RadialGradientCacheKey
RadialGradientInstance
The per-instance shader input of a radial gradient render task.
RadialGradientKey
Identifying key for a radial gradient.
RadialGradientParams
Hashable radial gradient parameters, for use during prim interning.
RadialGradientTask
RadialGradientTemplate

Functions§

optimize_radial_gradient
Avoid invoking the radial gradient shader on large areas where the color is constant.
radial_gradient_pattern

Type Aliases§

RadialGradientDataHandle