BrightFilter Class
Namespace: Stride.Rendering.ImagesAssembly: Stride.Rendering.dll
A bright pass filter.
System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect → ImageEffect →
BrightFilter
Derived from BrightFilter:
[DataContract("BrightFilter")]
public class BrightFilter : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Name | Description | |
---|---|---|
Constructors | ||
BrightFilter() | Initializes a new instance of the BrightFilter class. |
|
BrightFilter(String) | Initializes a new instance of the BrightFilter class. |
|
Properties | ||
Color | Modulate the bloom by a certain color. |
|
Steepness | Gets or sets the smoothstep steepness for bright pass filtering |
|
Threshold | Gets or sets the threshold relative to the |
|
Methods | ||
DrawCore(RenderDrawContext) | ||
InitializeCore() | ||
SetDefaultParameters() |
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
Type | Name | Description |
---|---|---|
System.String | brightPassShaderName | Name of the bright pass shader. |
Properties
Color
Modulate the bloom by a certain color.
[DataMember(20)]
public Color3 Color { get; set; }
Property Value
Type | Description |
---|---|
Color3 | The color. |
Steepness
Gets or sets the smoothstep steepness for bright pass filtering
[DataMember(15)]
public float Steepness { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Threshold
Gets or sets the threshold relative to the
[DataMember(10)]
public float Threshold { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The threshold. |
Methods
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | context |
Overrides
InitializeCore()
protected override void InitializeCore()
Overrides
SetDefaultParameters()
protected override void SetDefaultParameters()