Cogl.Pipeline.prototype.set_point_size

function set_point_size(point_size: Number(gfloat)): void {
    // Gjs wrapper for cogl_pipeline_set_point_size()
}
  

Changes the size of points drawn when Cogl.VerticesMode.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.

Since 2.0

point_size

the new point size.