## Public API Reference

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

- File List
- File Members

# iengine/portal.h File Reference

Portal interfaces. More...

`#include "csutil/scf.h"`

Go to the source code of this file.

## Classes

struct | iPortal
| This is the interface to the Portal objects. More...
struct | iPortalCallback
| When a sector is missing this callback will be called. More...

## Defines

#define | CS_PORTAL_CLIPDEST 0x00000001
| If this flag is set then this portal will clip all geometry in the destination sector.
#define | CS_PORTAL_CLIPSTRADDLING 0x00000002
| If this flag is set then this portal will clip geometry of an object that is straddling this portal (i.e.
#define | CS_PORTAL_COLLDET 0x00000080
| If this flag is set then this portal is used for collision detection.
#define | CS_PORTAL_FLOAT 0x00000040
| If this flag is used then the portal will use possible available stencil buffer on the hardware to do good clipping.
#define | CS_PORTAL_MIRROR 0x00000010
| If this flag is set then this portal mirrors space (changes order of the vertices of polygons).
#define | CS_PORTAL_STATICDEST 0x00000020
| A flag which indicates if the destination of this portal should not be transformed from object to world space.
#define | CS_PORTAL_VISCULL 0x00000100
| If this flag is set then this portal is used for visibility culling.
#define | CS_PORTAL_WARP 0x00000008
| If this flag is set then this portal will do space warping.
#define | CS_PORTAL_ZFILL 0x00000004
| If this flag is set then this portal will do a Z-fill after rendering the contents.

## Detailed Description

Portal interfaces.

Definition in file portal.h.