cucapra / gator

Geometry types
https://capra.cs.cornell.edu/research/gator/
26 stars 11 forks source link

More than 2 segments of a parameter #121

Closed ben-gillott closed 3 years ago

ben-gillott commented 3 years ago

It would be useful to support up to three parts of a function parameter, for example

void Test(out float varName){ }

Checkmate50 commented 3 years ago

I think we should specifically add the ability to add "modifiers" to variables, which also includes things like uniform, attribute, in, intout, etc..., since these modifiers show up a decent amount in Graphics. I propose in particular that any modifier can be declared as valid with the syntax: declare modifier attribute, for example