pub fn add_snippet(&self, snippet: &Snippet) {
        unsafe {
            ffi::cogl_pipeline_add_snippet(self.to_glib_none().0, snippet.to_glib_none().0);
        }
    }
/// Adds a shader snippet to `self`. 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 `Pipeline::add_layer_snippet` instead.
/// ## `snippet`
/// The `Snippet` to add to the vertex processing hook
Adds a shader snippet to `self`. 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 `Pipeline::add_layer_snippet` instead.
Adds a shader snippet to ` self ` . 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 ` Pipeline :: add_layer_snippet ` instead .
pub fn add_snippet(&self, snippet: &Snippet) {
        unsafe {
            ffi::cogl_pipeline_add_snippet(self.to_glib_none().0, snippet.to_glib_none().0);
        }
    }
pub fn add_snippet ( & self , snippet : & Snippet ) { unsafe { ffi :: cogl_pipeline_add_snippet ( self . to_glib_none ( ) . 0 , snippet . to_glib_none ( ) . 0 ) ; } }
Adds a shader snippet to `self`.
Adds a shader snippet to ` self ` .
&self
snippet
&Snippet
&self
snippet
&Snippet
`snippet`
The `Snippet` to add to the vertex processing hook
The ` Snippet ` to add to the vertex processing hook