Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph_core.h File Reference
#include "EngineInitSettings.h"
#include "EEngineProject.h"
#include <span>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  ph
 The root for all renderer implementations.
 

Functions

bool ph::init_render_engine (std::optional< EngineInitSettings > settings=std::nullopt)
 Initialize the render engine.
 
bool ph::exit_render_engine ()
 Exit the render engine. Must be called before leaving the engine. Using the engine after this call returned is prohibited (except some cleanup operations such as destruction).
 
std::span< const SdlClass *const > ph::get_registered_engine_classes ()
 Get a list of registered SDL classes from the engine.
 
std::span< const SdlEnum *const > ph::get_registered_engine_enums ()
 Get a list of registered SDL enums from the engine.
 
Path ph::get_config_directory (EEngineProject project)
 
Path ph::get_internal_resource_directory (EEngineProject project)
 Directory to resources required by the project.
 
Path ph::get_resource_directory (EEngineProject project)
 Directory to additional/optional resources used by the project.
 
Path ph::get_script_directory (EEngineProject project)
 Directory to scripts for the project.