SaturnRingLibrary 0.7
SGL wrapper
 
Loading...
Searching...
No Matches
SRL::Core Class Reference

Detailed Description

Core functions of the library.

#include <srl_core.hpp>

Static Public Member Functions

static void Initialize (const Types::HighColor &backColor)
 Initialize basic environment.
 
static void Synchronize ()
 Wait until graphic processing time is reached.
 

Static Public Attributes

static SRL::Types::Event OnVblank
 Event triggered every v-blank.
 

Member Function Documentation

◆ Initialize()

static void SRL::Core::Initialize ( const Types::HighColor & backColor)
inlinestatic

Initialize basic environment.

Parameters
backColorColor of the screen

◆ Synchronize()

static void SRL::Core::Synchronize ( )
inlinestatic

Wait until graphic processing time is reached.

Note
Graphic processing time is set by 'SRL_FRAMERATE' in makefile