## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# iengine/engine.h File Reference

Crystal Space 3D Engine Interface. More...

`#include "csutil/scf_interface.h"`
`#include "csgeom/vector3.h"`
`#include "iengine/light.h"`

Go to the source code of this file.

## Classes

struct | iEngine
| This interface is the main interface to the 3D engine. More...
struct | iEngineFrameCallback
| A callback that will be fired whenever the engine starts drawing a frame. More...
struct | iEngineSectorCallback
| A callback that will be fired whenever a sector is created or removed from the engine. More...

## SetLightingCacheMode() settings

#define | CS_ENGINE_CACHE_NOUPDATE 4
| Do not calculate lighting if not up-to-date.
#define | CS_ENGINE_CACHE_READ 1
| Read the cache.
#define | CS_ENGINE_CACHE_WRITE 2
| Write the cache.

## RegisterRenderPriority() flags

enum | csRenderPrioritySorting { CS_RENDPRI_SORT_NONE = 0, CS_RENDPRI_SORT_BACK2FRONT = 1, CS_RENDPRI_SORT_FRONT2BACK = 2 }

## Detailed Description

Crystal Space 3D Engine Interface.

Definition in file engine.h.