Cogl.Pipeline.set_per_vertex_point_size

### Method

# Cogl Pipelineset_per_vertex_point_size

#### Declaration [src]

    gboolean
    cogl_pipeline_set_per_vertex_point_size (
      CoglPipeline* pipeline,
      gboolean enable,
      GError** error
    )

#### Description [src]

Sets whether to use a per-vertex point size or to use the value set by cogl_pipeline_set_point_size(). If per-vertex point size is enabled then the point size can be set for an individual point either by drawing with a `CoglAttribute` with the name ‘cogl_point_size_in’ or by writing to the GLSL builtin ‘cogl_point_size_out’ from a vertex shader snippet.

If per-vertex point size is enabled and this attribute is not used and cogl_point_size_out is not written to then the results are undefined.

Stability: | Unstable
Available since: | 2.0

#### Parameters

`enable` | `gboolean`
| Whether to enable per-vertex point size.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` if the change succeeded or `FALSE` otherwise.