Class FrustumCullingSystem
Culling system.
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class FrustumCullingSystem : CullingSystem
Methods
CullLights(DrawContext, List<Light>, List<Light>)
Execute the culling test.
Declaration
public override void CullLights(DrawContext drawContext, List<Light> lights, List<Light> visibleLights)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The drawContext. |
List<Light> | lights | The lights. |
List<Light> | visibleLights | The visible lights. |
Overrides
CullObjects(DrawContext, RenderObjectSource[], RenderObjectSource)
Execute the culling test.
Declaration
public override void CullObjects(DrawContext drawContext, RenderObjectSource[] renderObjectSources, RenderObjectSource visibleObjects)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The drawContext. |
RenderObjectSource[] | renderObjectSources | |
RenderObjectSource | visibleObjects | The culling result. |