diff options
author | Neil Roberts <neil@linux.intel.com> | 2011-12-06 19:17:03 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2011-12-07 14:52:48 +0000 |
commit | 5f0a57ffdb98c5c07b40b7468e5a865cf7db6d5c (patch) | |
tree | df9da50daf592a51bfb2df3155e00ed0048ceab0 /cogl/cogl-pipeline-state.h | |
parent | 1be2cdab219bd5bdab5be313bbd10216f148a698 (diff) | |
download | cogl-5f0a57ffdb98c5c07b40b7468e5a865cf7db6d5c.tar.gz |
snippet: Add some more documentation
This adds a documentation section for CoglSnippet which gives an
overview of how to use them. It also fixes some syntax errors in the
existing documentation and adds the missing pipeline functions for
adding snippets to the documentation sections file.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl-pipeline-state.h')
-rw-r--r-- | cogl/cogl-pipeline-state.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cogl/cogl-pipeline-state.h b/cogl/cogl-pipeline-state.h index b3500bf3..e4356b59 100644 --- a/cogl/cogl-pipeline-state.h +++ b/cogl/cogl-pipeline-state.h @@ -943,11 +943,10 @@ cogl_pipeline_set_uniform_matrix (CoglPipeline *pipeline, * @pipeline: A #CoglPipeline * @snippet: The #CoglSnippet to add to the vertex processing hook * - * Adds a shader snippet that to @pipeline. The snippet will wrap - * around or replace some part of the pipeline as defined by the hook - * point in @snippet. Note that some hook points are specific to a - * layer and must be added with cogl_pipeline_add_layer_snippet() - * instead. + * Adds a shader snippet to @pipeline. The snippet will wrap around or + * replace some part of the pipeline as defined by the hook point in + * @snippet. Note that some hook points are specific to a layer and + * must be added with cogl_pipeline_add_layer_snippet() instead. * * Since: 1.10 * Stability: Unstable |