rigSystems 0.1.1
RigKit pack API - rigSystems
Loading...
Searching...
No Matches
SShapeRendering.h File Reference

Draw pass for shapes, meshes, and selection bounds via the present IRenderer. More...

#include "ecs/MEcs.h"
Include dependency graph for SShapeRendering.h:

Functions

void rigkit::ecs::SShapeRendering (MEcs &ecs)
 Draw shapes, meshes, then selection bounds via the present IRenderer.

Detailed Description

Draw pass for shapes, meshes, and selection bounds via the present IRenderer.

The host sets that renderer before calling in; meshes with an active CCamera are left to rigRender3D.

Function Documentation

◆ SShapeRendering()

void rigkit::ecs::SShapeRendering ( MEcs & ecs)

Draw shapes, meshes, then selection bounds via the present IRenderer.

Takes the renderer from MEcs::getPresentRenderer(), which the host Draw pass (or a Canvas FBO pass) sets first. No-op without one. 2D meshes go through drawTriangles / drawLines so the host can batch them. Skips meshes when an active CCamera exists - rigRender3D presents them.