ShaderTools.Hlsl.Binding.SemanticFacts.RequiresNumericTypes C# (CSharp) Method

RequiresNumericTypes() public static method

public static RequiresNumericTypes ( this op ) : bool
op this
return bool
        public static bool RequiresNumericTypes(this BinaryOperatorKind op)
        {
            return op.IsArithmetic() || op.IsLogical() || op.IsComparison();
        }