Table of Contents

Class LightShafts

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

Fields

CurrentLightShafts

Property key to access the current collection of List<T> from Tags.

public static readonly PropertyKey<List<RenderLightShaft>> CurrentLightShafts

Field Value

PropertyKey<List<RenderLightShaft>>

Properties

BoundingVolumeBufferDownsampleLevel

The amount of time the resolution is lowered for the bounding volume buffer

[DataMemberRange(1, 64, 1, 1, 0)]
public int BoundingVolumeBufferDownsampleLevel { get; set; }

Property Value

int

LightBufferDownsampleLevel

The number of times the resolution is lowered for the light buffer

[DataMemberRange(1, 64, 1, 1, 0)]
public int LightBufferDownsampleLevel { get; set; }

Property Value

int

Methods

Collect(RenderContext)

public void Collect(RenderContext context)

Parameters

context RenderContext

Destroy()

Disposes of object resources.

protected override void Destroy()

Draw(RenderDrawContext, Texture, Texture)

public void Draw(RenderDrawContext drawContext, Texture inputDepthStencil, Texture output)

Parameters

drawContext RenderDrawContext
inputDepthStencil Texture
output Texture

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