Class CullingSystem
Culling system.
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public abstract class CullingSystem
Methods
CullLights(DrawContext, List<Light>, List<Light>)
Execute the culling test.
Declaration
public abstract 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. |
CullObjects(DrawContext, RenderObjectSource[], RenderObjectSource)
Execute the culling test.
Declaration
public abstract void CullObjects(DrawContext drawContext, RenderObjectSource[] mesheSources, RenderObjectSource visibleObjects)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The drawContext. |
RenderObjectSource[] | mesheSources | A collection of mesh sources. |
RenderObjectSource | visibleObjects | The culling result. |