GaussianBokeh Class
Namespace: Stride.Rendering.ImagesAssembly: Stride.Rendering.dll
Applies a depth-aware gaussian blur to a texture.
System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect → ImageEffect → BokehBlur →
GaussianBokeh
Derived from GaussianBokeh:
public class GaussianBokeh : BokehBlur, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Remarks
This does not produce beautiful bokeh shapes, but it is quite light-weight and performance-friendly.
Name | Description | |
---|---|---|
Constructors | ||
GaussianBokeh() | Initializes a new instance of the GaussianBokeh class. |
|
Properties | ||
Radius | ||
Methods | ||
DrawCore(RenderDrawContext) | ||
InitializeCore() |
Constructors
GaussianBokeh()
Initializes a new instance of the GaussianBokeh class.
public GaussianBokeh()
Properties
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()