Introduction
Welcome to the Saga3D API documentation.
From this page you can find all necessary information to develop with Saga3D including: Guide, Tutorial, Note, ... and of course the detailed API documentation.
Basic usage
int main() {
const auto& driver = device->getVideoDriver();
const auto& smgr = device->getSceneManager();
device->setWindowCaption("Saga3D Application");
smgr->addCameraSceneNode();
while(device->run())
{
smgr->animate();
driver->begin();
driver->beginPass(...);
driver->endPass();
driver->beginPass(...);
driver->endPass();
driver->end();
driver->submit();
driver->present();
}
return 0;
}