Import line: | Cogl = imports.gi.Cogl; |
GIR File: | Cogl-1.0.gir |
C documentation: | CoglMaterialAlphaFunc |
Enum : | MaterialAlphaFunc |
Properties | |
---|---|
guint32 Cogl.MaterialAlphaFunc.ALWAYS : 519
|
|
guint32 Cogl.MaterialAlphaFunc.EQUAL : 514
|
|
guint32 Cogl.MaterialAlphaFunc.GEQUAL : 518
|
|
guint32 Cogl.MaterialAlphaFunc.GREATER : 516
|
|
guint32 Cogl.MaterialAlphaFunc.LEQUAL : 515
|
|
guint32 Cogl.MaterialAlphaFunc.LESS : 513
|
|
guint32 Cogl.MaterialAlphaFunc.NEVER : 512
|
|
guint32 Cogl.MaterialAlphaFunc.NOTEQUAL : 517
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Cogl.Material
Method |
set_alpha_test_function
(MaterialAlphaFunc alpha_func, gfloat 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. |