Class McIntoshBokeh
Applies a McIntosh blur to a texture. (Hexagonal bokeh)
public class McIntoshBokeh : BokehBlur, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
- Inheritance
-
McIntoshBokeh
- Implements
- Inherited Members
- Extension Methods
Remarks
This is a 3-pass (+1 final gathering) technique based on the paper of McIntosh from the Simon Fraser University. (2012) http://ivizlab.sfu.ca/papers/cgf2012.pdf
Constructors
McIntoshBokeh()
Initializes a new instance of the McIntoshBokeh class.
public McIntoshBokeh()
Properties
Phase
Phase of the bokeh effect. (rotation angle in radian)
public float Phase { get; set; }
Property Value
Radius
Sets the radius of the blur. A child class can override it to do special processing when a new value is provided.
public override float Radius { get; set; }
Property Value
Methods
DrawCore(RenderDrawContext)
Main drawing method for this renderer that must be implemented.
protected override void DrawCore(RenderDrawContext context)
Parameters
context
RenderDrawContextThe context.
InitializeCore()
protected override void InitializeCore()