Table of Contents

Class BrightFilter

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

A bright pass filter.

[DataContract("BrightFilter")]
public class BrightFilter : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Inheritance
BrightFilter
Implements
Inherited Members
Extension Methods

Constructors

BrightFilter()

Initializes a new instance of the BrightFilter class.

public BrightFilter()

BrightFilter(string)

Initializes a new instance of the BrightFilter class.

public BrightFilter(string brightPassShaderName)

Parameters

brightPassShaderName string

Name of the bright pass shader.

Properties

Color

Modulate the bloom by a certain color.

[DataMember(20)]
public Color3 Color { get; set; }

Property Value

Color3

The color.

Steepness

Gets or sets the smoothstep steepness for bright pass filtering

[DataMember(15)]
public float Steepness { get; set; }

Property Value

float

Threshold

Gets or sets the threshold relative to the WhitePoint.

[DataMember(10)]
public float Threshold { get; set; }

Property Value

float

The threshold.

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()

SetDefaultParameters()

Sets the default parameters (called at constructor time and if Reset() is called)

protected override void SetDefaultParameters()