-
-
Notifications
You must be signed in to change notification settings - Fork 0
RenderingEngine
Daynlight edited this page Dec 8, 2025
·
1 revision
๐ง Note: Full CWindow integration and 3D support are planned! See Roadmap.md for details.
Graphite uses a custom rendering engine based on CWindow for 2D/3D visualization and script output.
- The rendering engine currently implements some custom changes and wrappers around CWindow to support Graphiteโs needs.
- Rendering is managed via the
AppRendererclass, which handles window creation, frame rendering, and event processing. - Scripts interact with the renderer through math objects (like
Point) and drawing functions.
AppRenderer renderer;
while(renderer.isRunning()) {
renderer.renderFrame([&script](){
script.draw();
});
}- The rendering engine will transition to use full CWindow functionality directly, removing custom wrappers and making Graphite a thin layer over CWindow.
- This will allow for more advanced features, better performance, and easier maintenance.
See the CWindow repository for more details on the rendering backend.
Graphite Wiki ยฉ 2025 Daynlight & Contributors
Licensed under the Apache License 2.0
- ๐ Home
- ๐ ๏ธ Installation
- ๐งโ๐ป Usage
- ๐ Tutorials
- ๐งโ๐ฌ Examples
- ๐ WritingScripts
- ๐ฆ PackageManager
- ๐งฎ Math
- ๐๏ธ APIReference
- ๐ผ๏ธ RenderingEngine
- ๐๏ธ Architecture
- ๐ Roadmap
- ๐ Versions
- ๐ ChangeLog
- ๐ค Community
- ๐ Credits
- ๐ Troubleshooting
- โ FAQ