Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglMaterialLayer |
Struct : | MaterialLayer |
None |
Method / Constructor | Defined By | |
---|---|---|
get_mag_filter
()
:
Cogl.MaterialFilter
Queries the currently set downscaling filter for a material later
Queries the currently set downscaling filter for a material later
|
Cogl.MaterialLayer | |
get_min_filter
()
:
Cogl.MaterialFilter
Queries the currently set downscaling filter for a material layer
Queries the currently set downscaling filter for a material layer
|
Cogl.MaterialLayer | |
get_texture
()
:
void*
Extracts a texture handle for a specific layer.
Extracts a texture handle for a specific layer.
layers this function which will likely return COGL_INVALID_HANDLE if you try to get the texture handle from them. Considering this scenario, you should call cogl_material_layer_get_type() first in order check it is of type COGL_MATERIAL_LAYER_TYPE_TEXTURE before calling this function.
|
Cogl.MaterialLayer | |
get_wrap_mode_p
()
:
Cogl.MaterialWrapMode
|
Cogl.MaterialLayer | |
get_wrap_mode_s
()
:
Cogl.MaterialWrapMode
Gets the wrap mode for the 's' coordinate of texture lookups on this layer.
Gets the wrap mode for the 's' coordinate of texture lookups on this layer.
|
Cogl.MaterialLayer | |
get_wrap_mode_t
()
:
Cogl.MaterialWrapMode
Gets the wrap mode for the 't' coordinate of texture lookups on this layer.
Gets the wrap mode for the 't' coordinate of texture lookups on this layer.
|
Cogl.MaterialLayer |
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. |