Class CullingSystem
Culling system.
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public abstract class CullingSystem
Methods
CullLights(DrawContext, List<Light>, List<Light>)
Executes the culling test.
Declaration
public abstract void CullLights(DrawContext drawContext, List<Light> lights, List<Light> visibleLights)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The draw context. |
List<Light> | lights | The lights. |
List<Light> | visibleLights | The visible lights. |
CullObjects(DrawContext, RenderObjectSource[], RenderObjectSource)
Executes the culling test.
Declaration
public abstract void CullObjects(DrawContext drawContext, RenderObjectSource[] meshSources, RenderObjectSource visibleObjects)
Parameters
Type | Name | Description |
---|---|---|
DrawContext | drawContext | The drawing context. |
RenderObjectSource[] | meshSources | A collection of mesh sources. |
RenderObjectSource | visibleObjects | The result of the culling. |