TripleRhombiBokeh Class
Namespace: Stride.Rendering.ImagesAssembly: Stride.Rendering.dll
Applies a TripleRhombi blur to a texture. (Hexagonal bokeh)
System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect → ImageEffect → BokehBlur →
TripleRhombiBokeh
Derived from TripleRhombiBokeh:
public class TripleRhombiBokeh : BokehBlur, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Remarks
This is a technique based on DICE's presentation at Siggraph 2011. http://advances.realtimerendering.com/s2011/White,%20BarreBrisebois-%20Rendering%20in%20BF3%20%28Siggraph%202011%20Advances%20in%20Real-Time%20Rendering%20Course%29.pdf
Name | Description | |
---|---|---|
Constructors | ||
TripleRhombiBokeh() | Initializes a new instance of the TripleRhombiBokeh class. |
|
Properties | ||
Phase | Phase of the bokeh effect. (rotation angle in radian) |
|
Radius | ||
Methods | ||
DrawCore(RenderDrawContext) | ||
DrawCoreNaive(RenderDrawContext) | ||
InitializeCore() |
Constructors
TripleRhombiBokeh()
Initializes a new instance of the TripleRhombiBokeh class.
public TripleRhombiBokeh()
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
DrawCoreNaive(RenderDrawContext)
protected void DrawCoreNaive(RenderDrawContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | context |
InitializeCore()
protected override void InitializeCore()