set_point_size


Description:

public void set_point_size (float point_size)

Changes the size of points drawn when cogl_vertices_mode_points is used with the attribute buffer API.

Note that typically the GPU will only support a limited minimum and maximum range of point sizes. If the chosen point size is outside that range then the nearest value within that range will be used instead. The size of a point is in screen space so it will be the same regardless of any transformations.

If the point size is set to 0.0 then drawing points with the pipeline will have undefined results. This is the default value so if an application wants to draw points it must make sure to use a pipeline that has an explicit point size set on it.

Parameters:

this

a Pipeline pointer

point_size

the new point size.