When rendering points, if enable
is true then the texture coordinates for this
layer will be replaced with coordinates that vary from 0.0 to 1.0 across the primitive.
The top left of the point will have the coordinates 0.0,0.0 and the bottom right will have 1.0,1.0. If enable
is
false then the coordinates will be fixed for the entire point.
This function will only work if cogl_feature_id_point_sprite is available. If the feature is not available then the function will return false and set throws .
this |
A Pipeline object |
layer_index |
the layer number to change. |
enable |
whether to enable point sprite coord generation. |
true if the function succeeds, false otherwise. |