Virtual Method

ClutterShaderEffectget_static_snippet

Declaration [src]

CoglSnippet*
get_static_snippet (
  ClutterShaderEffect* effect
)

Description [src]

Returns the CoglSnippet to use for instances of this shader effect. This function is only called once per subclass of ClutterShaderEffect regardless of how many instances are used.

Return value

Type: CoglSnippet

A CoglSnippet.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.