Render components #23
No assignees
Labels
No labels
area/build
area/content
area/editor
area/engine
area/graphics
area/platform
area/repo-wide
area/tests
area/tools
bug
optional
roadmap
size/L
size/M
size/S
No project
No milestone
Blocks
Depends on
#30 Shared renderer modules, D3D12 refit onto them
UnflavoredMeson/Primal_Plus_Plus
#19 Archetype ECS
UnflavoredMeson/Primal_Plus_Plus
#21 Reflection generator PrimalReflectGen
UnflavoredMeson/Primal_Plus_Plus
Reference
No Branch/Tag specified
Notifications
1 participant
Due date
No due date set.
Reference
UnflavoredMeson/Primal_Plus_Plus#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The renderer (S6) reads what to draw from ECS components. In the fork it had its own camera, light and render-item objects first, and was converted later. Defining the components now lets the renderer read them from day one.
Decided
render::MeshRenderer(geometry content id, materials), the four light components (directional, point, spot, ambient) andrender::Camera, inEngine/EngineAPI/RenderComponents.h, reflected.graphics::Camera/graphics::Lighthandles in the game API. Plain entities may have them; actors' parts (S8) write them.Read first
Engine/EngineAPI/Camera.h,Light.h,GeometryComponent.honmaster(what they replace).Steps
Docs/which fields the renderer will read, for S6-01.Done when
Claude can help with
Learn