-
-
Notifications
You must be signed in to change notification settings - Fork 0
RenderingEngine
Daynlight edited this page Dec 17, 2025
·
2 revisions
Graphite uses CWindow for 2D/3D visualization and script output. It is wrapped via AppRenderer.
- 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 mainly through
Plot2D/Plot3Dclasses that contains otherMathmodules.Plotsgenerates points that are send to GPU.
AppRenderer renderer;
while(renderer.isRunning()) {
renderer.renderFrame([&script](){
script.draw();
});
}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
- ๐ถ Planning
- ๐ค Community
- ๐ Credits
- ๐ Troubleshooting
- โ FAQ