Enumeration (GI Enum)

Cogl-51CoglPipelineAlphaFunc

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 Cogl.PipelineAlphaFunc determines how the comparison is done.

Index
ALWAYS: 519

Always let the fragment through.

EQUAL: 514

Let the fragment through if the incoming alpha value equals the reference alpha value

GEQUAL: 518

Let the fragment through if the incoming alpha value is greater than or equal to the reference alpha value.

GREATER: 516

Let the fragment through if the incoming alpha value is greater than the reference alpha value

LEQUAL: 515

Let the fragment through if the incoming alpha value is less than or equal to the reference alpha value

LESS: 513

Let the fragment through if the incoming alpha value is less than the reference alpha value

NEVER: 512

Never let the fragment through.

NOTEQUAL: 517

Let the fragment through if the incoming alpha value does not equal the reference alpha value