Contents

shader

A custom shader that is called when the effect node is blended into the parent’s framebuffer.

Declaration

var shader: SKShader? { get set }

Discussion

The default value is nil, meaning that default blending behavior executes. If a shader is specified, it is called when the rasterized image is blended into the parent’s framebuffer.

See Also

Applying a Shader with an Effect Node