File entry_point.h

Parent directory (portal/engine)

Portal Engine application entry point.

Detailed Description

This header provides the main entry point for Portal Engine Users. This is a wrapper around <portal/application/entry_point.h> with additional checks and actions That only 3D and gui applications require

Example usage:

#include <portal/application/entry_point.h>

std::unique_ptr<portal::Application> portal::create_application(int argc, char** argv) {
    ApplicationProperties props{.name = STRING_ID("My Game")};
    return std::make_unique<MyGameApp>(props);
}

Definition (portal/engine/entry_point.h)

Includes

Namespaces

Functions