ShaderTools.Hlsl.Binding.BoundTreeWalker.VisitType C# (CSharp) Method

VisitType() protected method

protected VisitType ( BoundType node ) : void
node ShaderTools.Hlsl.Binding.BoundNodes.BoundType
return void
        protected virtual void VisitType(BoundType node)
        {
            switch (node.Kind)
            {
                case BoundNodeKind.StructType:
                    VisitStructType((BoundStructType) node);
                    break;
                case BoundNodeKind.ClassType:
                    VisitClassType((BoundClassType) node);
                    break;
                case BoundNodeKind.InterfaceType:
                    VisitInterfaceType((BoundInterfaceType) node);
                    break;
                default:
                    throw new InvalidOperationException(node.Kind.ToString());
            }
        }