Cogl.TextureComponents
See Cogl.Texture.prototype.set_components.
Since 1.18
- TextureComponents.A
Only the alpha component
- TextureComponents.RG
Red and green components. Note that this can only be used if the Cogl.FeatureID.ogl_feature_id_texture_rg feature is advertised.
- TextureComponents.RGB
Red, green and blue components
- TextureComponents.RGBA
Red, green, blue and alpha components
- TextureComponents.DEPTH
Only a depth component