mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 12:19:19 +02:00
WIP
This commit is contained in:
16
entitysystem/systems/MeshRenderSystem.cpp
Normal file
16
entitysystem/systems/MeshRenderSystem.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "stdafx.h"
|
||||
#include "MeshRenderSystem.h"
|
||||
|
||||
#include "entitysystem/ECWorld.h"
|
||||
#include "entitysystem/components/BasicComponents.h"
|
||||
#include "entitysystem/components/RenderComponents.h"
|
||||
|
||||
// gfx_renderer does not expose per-handle draw calls — geometry is drawn
|
||||
// by the legacy pipeline (simulation::Region → GfxRenderer->Render()).
|
||||
// MeshRenderer.visible is the authoritative visibility flag; LODSystem writes
|
||||
// it and the legacy scene node reads it when the renderer traverses the scene.
|
||||
// When a custom ECS draw path is wired into the renderer this system will
|
||||
// issue the actual draw calls.
|
||||
void MeshRenderSystem::Render(ECWorld& world)
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user