projectm_get_fps

Function projectm_get_fps 

Source
pub unsafe extern "C" fn projectm_get_fps(
    instance: projectm_handle,
) -> i32
Expand description

@brief Returns the current/average frames per second.

This value needs to be set by the application. If it wasn’t set, a default value of 60 is used.

@param instance The projectM instance handle. @return The current/average frames per second.