Back to Seed Clases

Cogl


Classes

Interfaces

Structs

Unions

Enums

Enum Cogl.MaterialAlphaFunc

Import line: Cogl = imports.gi.Cogl;
GIR File: Cogl-1.0.gir
C documentation: CoglMaterialAlphaFunc
Enum : MaterialAlphaFunc
  Show / Hide Inherited methods, properties and signals
Alpha testing happens before blending primitives with the framebuffer and gives an opportunity to discard fragments based on a comparison with the incoming alpha value and a reference alpha value. The CoglMaterialAlphaFunc determines how the comparison is done.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
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.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:32:40 GMT+0800 (HKT)