projectm_set_mesh_size

Function projectm_set_mesh_size 

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

@brief Sets the per-pixel equation mesh size in units. Will internally be clamped to [8,300] in each axis. If any dimension is set to an odd value, it will be incremented by 1 so only multiples of two are used. @param instance The projectM instance handle. @param width The new width of the mesh. @param height The new height of the mesh.