ShaderTools.Hlsl.Symbols.TypeFacts.IsIntrinsicNumericType C# (CSharp) Méthode

IsIntrinsicNumericType() public static méthode

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