MaterialAlphaFunc

public extension MaterialAlphaFunc
  • Cast constructor, converting any binary integer to a MaterialAlphaFunc.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Never let the fragment through.

    Declaration

    Swift

    static let never: CoglMaterialAlphaFunc
  • Let the fragment through if the incoming alpha value is less than the reference alpha value

    Declaration

    Swift

    static let less: CoglMaterialAlphaFunc
  • Let the fragment through if the incoming alpha value equals the reference alpha value

    Declaration

    Swift

    static let equal: CoglMaterialAlphaFunc
  • Let the fragment through if the incoming alpha value is less than or equal to the reference alpha value

    Declaration

    Swift

    static let lequal: CoglMaterialAlphaFunc
  • Let the fragment through if the incoming alpha value is greater than the reference alpha value

    Declaration

    Swift

    static let greater: CoglMaterialAlphaFunc
  • Let the fragment through if the incoming alpha value does not equal the reference alpha value

    Declaration

    Swift

    static let notequal: CoglMaterialAlphaFunc
  • Let the fragment through if the incoming alpha value is greater than or equal to the reference alpha value.

    Declaration

    Swift

    static let gequal: CoglMaterialAlphaFunc
  • Always let the fragment through.

    Declaration

    Swift

    static let always: CoglMaterialAlphaFunc