NAME

SDL::GFX::Primitives - framerate calculating functions

CATEGORY

GFX, Framerate

METHODS

init

void gfx_frame_init(manager) FPSmanager * manager CODE: SDL_initFramerate(manager);

set

int gfx_frame_set(manager, rate) FPSmanager * manager int rate CODE: RETVAL = SDL_setFramerate(manager, rate); OUTPUT: RETVAL

get

int gfx_frame_get(manager) FPSmanager * manager CODE: RETVAL = SDL_getFramerate(manager); OUTPUT: RETVAL

delay

void gfx_frame_delay(manager) FPSmanager * manager CODE: SDL_framerateDelay(manager);