Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglMaterialLayerType |
Enum : | MaterialLayerType |
Properties | |
---|---|
guint32 Cogl.MaterialLayerType.TEXTURE : 0
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Cogl
Method |
Retrieves the type of the layer
Currently there is only one type of layer defined: COGL_MATERIAL_LAYER_TYPE_TEXTURE, but considering we may add purely GLSL based layers in the future, you should write code that checks the type first. |