Bloom Class
Namespace: Stride.Rendering.ImagesAssembly: Stride.Rendering.dll
System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect → ImageEffect →
Bloom
Derived from Bloom:
[DataContract("Bloom")]
public class Bloom : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
| Name | Description | |
|---|---|---|
| Constructors | ||
| Bloom() | Initializes a new instance of the Bloom class. |
|
| Properties | ||
| Afterimage | Gets the afterimage effect/> |
|
| Amount | Gets or sets the amount. |
|
| Distortion | Vertical or horizontal distortion to apply. (1, 2) means the bloom will be stretched twice longer horizontally than vertically. |
|
| DownScale | ||
| MipIndex | ||
| Radius | Radius of the bloom. |
|
| ShowOnlyBloom | ||
| ShowOnlyMip | ||
| SigmaRatio | Gets or sets the sigma ratio. |
|
| StableConvolution | Use the "stable bloom" rendering path. |
|
| Methods | ||
| DrawCore(RenderDrawContext) | ||
| InitializeCore() | ||
Constructors
Bloom()
Initializes a new instance of the Bloom class.
public Bloom()
Properties
Afterimage
Gets the afterimage effect/>
[DataMember(50)]
public Afterimage Afterimage { get; }
Property Value
| Type | Description |
|---|---|
| Afterimage |
Amount
Gets or sets the amount.
[DataMember(20)]
public float Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The amount. |
Distortion
Vertical or horizontal distortion to apply. (1, 2) means the bloom will be stretched twice longer horizontally than vertically.
[DataMember(40)]
public Vector2 Distortion { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
DownScale
public int DownScale { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MipIndex
public int MipIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Radius
Radius of the bloom.
[DataMember(10)]
[DataMemberRange(1, 100, 1, 10, 1)]
public float Radius { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
ShowOnlyBloom
public bool ShowOnlyBloom { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ShowOnlyMip
public bool ShowOnlyMip { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
SigmaRatio
Gets or sets the sigma ratio.
[Display("Sigma ratio", null)]
[DataMember(30)]
public float SigmaRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The ratio |
StableConvolution
Use the "stable bloom" rendering path.
[DataMember(60)]
[Display("Expanded filtering", null)]
public bool StableConvolution { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderDrawContext | context |
Overrides
InitializeCore()
protected override void InitializeCore()