Method
CoglPipelineset_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 |