Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglMaterialAlphaFunc |
Enum : | MaterialAlphaFunc |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Cogl.MaterialAlphaFunc.ALWAYS : 519
|
|
Number Cogl.MaterialAlphaFunc.EQUAL : 514
|
|
Number Cogl.MaterialAlphaFunc.GEQUAL : 518
|
|
Number Cogl.MaterialAlphaFunc.GREATER : 516
|
|
Number Cogl.MaterialAlphaFunc.LEQUAL : 515
|
|
Number Cogl.MaterialAlphaFunc.LESS : 513
|
|
Number Cogl.MaterialAlphaFunc.NEVER : 512
|
|
Number Cogl.MaterialAlphaFunc.NOTEQUAL : 517
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Cogl
Method |
Cogl.material_set_alpha_test_function
(void* material, MaterialAlphaFunc alpha_func, Number alpha_reference)
:
none
Before a primitive is blended with the framebuffer, it goes through an alpha test stage which lets you discard fragments based on the current alpha value.
|