pub unsafe extern "C" fn projectm_init_render_to_texture(
    instance: projectm_handle
) -> c_uint
Expand description

@brief Enables render-to-texture.

Useful if projectM output will be part of a more complex OpenGL scene. The size of the texture is determined by the given viewport size and the dimensions should be a power of 2.

@param instance The projectM instance handle. @return A GLuint value with the texture ID projectM will render to.