Skip to main content

Module runtime_effect

Module runtime_effect 

Expand description

Support for creating custom crate::Shaders and crate::ColorFilters from Skia’s SkSL shading language. This API is experimental and subject to change.

Modules§

uniform
Types that describe the uniforms of a crate::RuntimeEffect, e.g. Type and Flags.

Structs§

Options
Options for creating a RuntimeEffect.

Enums§

ChildPtr
Object that allows passing a Shader, ColorFilter, or Blender as a child to RuntimeEffect::make_shader() and friends.
ChildType
ShaderBuilderError

Type Aliases§

Child
Reflected description of a uniform child (shader, color filter, or blender) in the effect’s SkSL.
RuntimeEffect
RuntimeEffect supports creating custom Shader and ColorFilter objects using Skia’s SkSL shading language.
RuntimeShaderBuilder
Uniform
Reflected description of a uniform variable in the effect’s SkSL.
VariableDeprecated
VaryingDeprecated