Cogl.Texture.prototype.get_premultiplied

function get_premultiplied(): Cogl.Bool {
    // Gjs wrapper for cogl_texture_get_premultiplied()
}
  

Queries the pre-multiplied alpha status for internally stored red, green and blue components for the given texture as set by Cogl.Texture.prototype.set_premultiplied.

By default the pre-multipled state is @TRUE.

Since 1.18

Returns

true if red, green and blue components are internally stored pre-multiplied by the alpha value or false if not.