Final Platform Layer 0.9.8-beta
|
This category contains structures, enumerations and functions for initializing/releasing the platform. More...
Functions | |
fpl_common_api const char * | fplGetPlatformName (const fplPlatformType type) |
Gets the string representation of the given platform type. | |
fpl_common_api fplPlatformResultType | fplGetPlatformResult () |
Gets the result type of the platform initialization. | |
fpl_common_api fplPlatformType | fplGetPlatformType () |
Gets the type of the platform. | |
fpl_common_api bool | fplIsPlatformInitialized () |
Returns true when the platform is initialized, or false if not. | |
fpl_common_api bool | fplPlatformInit (const fplInitFlags initFlags, const fplSettings *initSettings) |
Initializes the platform layer. | |
fpl_common_api void | fplPlatformRelease () |
Releases the resources allocated by the platform layer. | |
This category contains structures, enumerations and functions for initializing/releasing the platform.
fpl_common_api const char * fplGetPlatformName | ( | const fplPlatformType | type | ) |
Gets the string representation of the given platform type.
type | The platform type fplPlatformType |
fpl_common_api fplPlatformResultType fplGetPlatformResult | ( | ) |
Gets the result type of the platform initialization.
fpl_common_api fplPlatformType fplGetPlatformType | ( | ) |
Gets the type of the platform.
fpl_common_api bool fplPlatformInit | ( | const fplInitFlags | initFlags, |
const fplSettings * | initSettings | ||
) |
Initializes the platform layer.
initFlags | The init flags fplInitFlags used to enable certain features, like video/audio, etc. |
initSettings | The fplSettings structure to control the platform layer behavior or systems, if null is passed here default values are used automatically. |
fpl_common_api void fplPlatformRelease | ( | ) |
Releases the resources allocated by the platform layer.