Gjsify LogoGjsify Logo

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 #CoglPipelineAlphaFunc determines how the comparison is done.

Index

Enumeration Members

ALWAYS: number

Always let the fragment through.

EQUAL: number

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

GEQUAL: number

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

GREATER: number

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

LEQUAL: number

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

LESS: number

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

NEVER: number

Never let the fragment through.

NOTEQUAL: number

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

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method