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 passes the comparison.
-
Passes the comparison if A < B.
-
Passes the comparison if A == B.
-
Passes the comparison if A <= B.
-
Passes the comparison if A > B.
-
Passes the comparison if A != B.
-
Passes the comparison if A >= B.
-
Always passes the comparison.