Table of Contents

Class Bloom

Namespace
Stride.Rendering.Images
Assembly
Stride.Rendering.dll
[DataContract("Bloom")]
public class Bloom : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Inheritance
Bloom
Implements
Inherited Members
Extension Methods

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

Afterimage

Amount

Gets or sets the amount.

[DataMember(20)]
public float Amount { get; set; }

Property Value

float

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

Vector2

DownScale

public int DownScale { get; set; }

Property Value

int

MipIndex

public int MipIndex { get; set; }

Property Value

int

Radius

Radius of the bloom.

[DataMember(10)]
[DataMemberRange(1, 100, 1, 10, 1)]
public float Radius { get; set; }

Property Value

float

ShowOnlyBloom

public bool ShowOnlyBloom { get; set; }

Property Value

bool

ShowOnlyMip

public bool ShowOnlyMip { get; set; }

Property Value

bool

SigmaRatio

Gets or sets the sigma ratio.

[Display("Sigma ratio", null)]
[DataMember(30)]
public float SigmaRatio { get; set; }

Property Value

float

The ratio

StableConvolution

Use the "stable bloom" rendering path.

[DataMember(60)]
[Display("Expanded filtering", null)]
public bool StableConvolution { get; set; }

Property Value

bool

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