Class LightShafts
[DataContract("LightShafts")]
public class LightShafts : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
- Inheritance
-
LightShafts
- Implements
- Inherited Members
- Extension Methods
Fields
CurrentLightShafts
public static readonly PropertyKey<List<RenderLightShaft>> CurrentLightShafts
Field Value
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
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
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
RenderDrawContextinputDepthStencil
Textureoutput
Texture
DrawCore(RenderDrawContext)
Main drawing method for this renderer that must be implemented.
protected override void DrawCore(RenderDrawContext context)
Parameters
context
RenderDrawContextThe context.
InitializeCore()
protected override void InitializeCore()