ShaderTools.Hlsl.Symbols.TypeFacts.IsIntrinsicNumericType C# (CSharp) Method

IsIntrinsicNumericType() public static method

public static IsIntrinsicNumericType ( this type ) : bool
type this
return bool
        public static bool IsIntrinsicNumericType(this TypeSymbol type)
        {
            return type.Kind == SymbolKind.IntrinsicMatrixType
                || type.Kind == SymbolKind.IntrinsicScalarType
                || type.Kind == SymbolKind.IntrinsicVectorType;
        }