Class LightShafts
[DataContract("LightShafts")]
public class LightShafts : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffect, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
- Inheritance
-
objectLightShafts
- 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
contextRenderContext
Destroy()
Disposes the object's resources.
protected override void Destroy()
Remarks
Override in a derived class to implement disposal logic specific to it.
This method is automatically called whenever a call to Dispose() (or to Release()) has decreased the internal reference count to zero, meaning no other objects (hopefully) hold a reference to this one and its resources can be safely released.
Draw(RenderDrawContext, Texture, Texture)
public void Draw(RenderDrawContext drawContext, Texture inputDepthStencil, Texture output)
Parameters
drawContextRenderDrawContextinputDepthStencilTextureoutputTexture
DrawCore(RenderDrawContext)
Main drawing method for this renderer that must be implemented.
protected override void DrawCore(RenderDrawContext context)
Parameters
contextRenderDrawContextThe context.
InitializeCore()
protected override void InitializeCore()