ShaderTools.Hlsl.Symbols.TypeFacts.IsIntrinsicNumericType C# (CSharp) Метод

IsIntrinsicNumericType() публичный статический Метод

public static IsIntrinsicNumericType ( this type ) : bool
type this
Результат bool
        public static bool IsIntrinsicNumericType(this TypeSymbol type)
        {
            return type.Kind == SymbolKind.IntrinsicMatrixType
                || type.Kind == SymbolKind.IntrinsicScalarType
                || type.Kind == SymbolKind.IntrinsicVectorType;
        }