McIntoshBokeh Class
Namespace: Stride.Rendering.ImagesAssembly: Stride.Rendering.dll
Applies a McIntosh blur to a texture. (Hexagonal bokeh)
System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect → ImageEffect → BokehBlur →
McIntoshBokeh
Derived from McIntoshBokeh:
public class McIntoshBokeh : BokehBlur, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
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
Name | Description | |
---|---|---|
Constructors | ||
McIntoshBokeh() | Initializes a new instance of the McIntoshBokeh class. |
|
Properties | ||
Phase | Phase of the bokeh effect. (rotation angle in radian) |
|
Radius | ||
Methods | ||
DrawCore(RenderDrawContext) | ||
InitializeCore() |
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
Type | Description |
---|---|
System.Single |
Radius
public override float Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
| Improve this Doc View SourceMethods
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | context |
Overrides
InitializeCore()
protected override void InitializeCore()