Luna::RHI::CompareFunction

enum CompareFunction : u8
{
    never
    less
    equal
    less_equal
    greater
    not_equal
    greater_equal
    always
}

Specifies the compare function used for comparison.

Options

  • never

    Never passes the comparison.

  • less

    Passes the comparison if A < B.

  • equal

    Passes the comparison if A == B.

  • less_equal

    Passes the comparison if A <= B.

  • greater

    Passes the comparison if A > B.

  • not_equal

    Passes the comparison if A != B.

  • greater_equal

    Passes the comparison if A >= B.

  • always

    Always passes the comparison.