Cogl.Snippet.prototype.get_declarations

function get_declarations(): String {
    // Gjs wrapper for cogl_snippet_get_declarations()
}
  

Since 1.10

Returns

the source string that was set with Cogl.Snippet.prototype.set_declarations or null if none was set.