Table of Contents

Class TripleRhombiBokeh

Namespace
Stride.Rendering.Images
Assembly
Stride.Rendering.dll

Applies a TripleRhombi blur to a texture. (Hexagonal bokeh)

public class TripleRhombiBokeh : BokehBlur, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Inheritance
TripleRhombiBokeh
Implements
Inherited Members
Extension Methods

Remarks

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

float

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

float

Methods

DrawCore(RenderDrawContext)

Main drawing method for this renderer that must be implemented.

protected override void DrawCore(RenderDrawContext context)

Parameters

context RenderDrawContext

The context.

DrawCoreNaive(RenderDrawContext)

protected void DrawCoreNaive(RenderDrawContext context)

Parameters

context RenderDrawContext

InitializeCore()

protected override void InitializeCore()