Engine Architecture

From Yogurt3D Wiki

Jump to: navigation, search
Yogurt3d.jpg

All the engine is controlled mainly by a single class. This class is Yogurt3D.as. It is responsible to distribute responsibilities along managers, handle timer ticks, and call the renders.

There are a few helpers for you to start quickly using Yogurt3D.

The first one is the defaultSetup() method.

This automatically creates a new Context for you and initializes it's Viewport, Scene, Renderer.

After you call this method you can access the created elements through the Yogurt3D.as class.

The core scene graph management will be explained on other pages.



Architecture.jpg



This is the main render loop:

Render.jpg
Personal tools