Closed mitchmindtree closed 5 years ago
Yeah cool I wanted to talk to you about how you would have gone about this as I was aware of the two points you brought up but couldn't work out how to avoid them. Specifically how can I have an enum that represents all the different shaders, but then have the names of that enum populate a conrod DDL. It seemed that to have the names in there I need to create a vector of strings to pass in and because of that, I was going to have to match on that to then decide the value of the enum.... so ended up just string with stings instead of having strings and enums.
Just a heads up for future reference as it's never a good idea to match on strings for a couple of reasons: