Cogl.SubTexture.prototype.get_parent

function get_parent(): Cogl.Texture {
    // Gjs wrapper for cogl_sub_texture_get_parent()
}
  

Retrieves the parent texture that sub_texture derives its content from. This is the texture that was passed to Cogl.SubTexture.new as the parent_texture argument.

Since 1.10

Returns

The parent texture that sub_texture derives its content from.