Skip to content

IRenderSystem Interface

Interface for systems that process entities during the render phase. Render systems run before behaviors during EntityWorld.Render().

public interface IRenderSystem : Brine2D.ECS.ISystem

Derived
RenderSystemBase
ParticleSystem

Implements ISystem

Remarks

Systems are scene-scoped and automatically cleaned up when the scene unloads. Use render systems for batch rendering of many entities (sprite batching, particle rendering, etc.). For entity-specific rendering, use Behavior instead.

Properties
RenderOrder Determines the order in which this system executes during the render phase. Lower values execute first. Default is 0 (Sprites).
Methods
Render(IEntityWorld, IRenderer) Called every frame to render this system.