Table of Contents

Class CoCMapBlur

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

Blurs a Circle of Confusion map.

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

Remarks

This is useful to avoid strong CoC changes leading to out-of-focus silhouette outline appearing in front of another out-of-focus object. Internally it uses a special gaussian blur aware of the depth.

Constructors

CoCMapBlur()

Initializes a new instance of the CoCMapBlur class.

public CoCMapBlur()

Properties

Radius

Gets or sets the radius.

public float Radius { get; set; }

Property Value

float

The radius.

Methods

DrawCore(RenderDrawContext)

Main drawing method for this renderer that must be implemented.

protected override void DrawCore(RenderDrawContext context)

Parameters

context RenderDrawContext

The context.

InitializeCore()

protected override void InitializeCore()