1
0
Fork 0
mutter-performance-source/doc/reference/cogl
Neil Roberts ab05f6bfb1 cogl-material: Add support for point sprites
This adds a new API call to enable point sprite coordinate generation
for a material layer:

void
cogl_material_set_layer_point_sprite_coords_enabled (CoglHandle material,
                                                     int layer_index,
                                                     gboolean enable);

There is also a corresponding get function.

Enabling point sprite coords simply sets the GL_COORD_REPLACE of the
GL_POINT_SPRITE glTexEnv when flusing the material. There is no
separate application control for glEnable(GL_POINT_SPRITE). Instead it
is left permanently enabled under the assumption that it has no affect
unless GL_COORD_REPLACE is enabled for a texture unit.

http://bugzilla.openedhand.com/show_bug.cgi?id=2047
2010-07-08 16:34:30 +01:00
..
blend-strings.xml cogl: Fix gl equivalent of blend string 2010-01-26 17:25:25 +00:00
cogl-docs.xml.in docs: Add a cogl-paths section 2010-07-02 17:49:09 +01:00
cogl-sections.txt cogl-material: Add support for point sprites 2010-07-08 16:34:30 +01:00
cogl_ortho.png cogl docs: Improve documentation for cogl_ortho 2010-06-15 15:26:28 +01:00
fill-rule-even-odd.png cogl-path: Allow changing the fill rule 2010-06-29 20:37:14 +01:00
fill-rule-non-zero.png cogl-path: Allow changing the fill rule 2010-06-29 20:37:14 +01:00
Makefile.am Convert the ASCII art documentation in cogl-vertex-buffer to PNGs 2010-07-02 17:29:34 +01:00
quad-indices-order.png Convert the ASCII art documentation in cogl-vertex-buffer to PNGs 2010-07-02 17:29:34 +01:00
quad-indices-triangles.png Convert the ASCII art documentation in cogl-vertex-buffer to PNGs 2010-07-02 17:29:34 +01:00