Skip to main content

projectm_set_window_size

Function projectm_set_window_size 

Source
pub unsafe extern "C" fn projectm_set_window_size(
    instance: projectm_handle,
    width: usize,
    height: usize,
)
Expand description

@brief Sets the current viewport size in pixels.

Calling this function will reset the OpenGL renderer.

@param instance The projectM instance handle. @param width New viewport width in pixels. @param height New viewport height in pixels.