get_components


Description:

public TextureComponents get_components ()

Queries what components the given this stores internally as set via set_components.

For textures created by the ‘_with_size’ constructors the default is cogl_texture_components_rgba. The other constructors which take a coglbitmap or a data pointer default to the same components as the pixel format of the data.

Parameters:

this

a Texture pointer.