Contents

shader

A custom shader used to determine how particles are rendered.

Declaration

var shader: SKShader? { get set }

Discussion

The default value is nil. If a shader is specified, then the shader is used to determine the output colors for any of the emitter’s particles.

See Also

Taking Full Control of Particle Drawing with a Shader