ShaderTools.Hlsl.Binding.Binder.BindVectorType C# (CSharp) Method

BindVectorType() private method

private BindVectorType ( VectorTypeSyntax node ) : BoundVectorType
node VectorTypeSyntax
return ShaderTools.Hlsl.Binding.BoundNodes.BoundVectorType
        private BoundVectorType BindVectorType(VectorTypeSyntax node)
        {
            var vectorType = TypeFacts.GetVectorType(node.TypeToken.Kind);
            var scalarType = vectorType.Item1;
            var numComponents = vectorType.Item2;

            return new BoundVectorType(IntrinsicTypes.GetVectorType(scalarType, numComponents));
        }